Hi, I have a modal form that I display via FrmPopupForm from two different underlying forms. I want the popped-up form to either show or hide a specific button, based on which of the two forms is beneath it. To do that, I need to know the form ID of the underlying form, so that I can do something like this:
if (underlying form ID == form1) FrmShowObject(frm, thebuttonindex); else FrmHideObject(frm, thebuttonindex); Is there a way to tell which form is beneath it, other than by using a global variable? I'm trying to avoid having to do this: global_calling_form = form1; FrmPopupForm(popform); I did find the FrmGetFirstForm call, but to my surprise, there is nothing like FrmGetNextForm. How can I get the form ID of the underlying form? Thanks. Tom -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
