Andre Augusto wrote:

Hello everybody!
I need to know how can I know what is the form I am into ,in a specific moment of my application, i.e,
for instance, I have 2 Forms:
FormA and FormB and I have also a function that runs on both Forms A and B. I Want the function to do different things, regarding the Form is active. So, How can I know, in the function wich is the open form?

Something like this... :

if (currForm == FormA)
{ do something....
}
else
{ do something else
}


try to use FrmGetActiveForm

http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/Form.html#997390

Christian Lindemeier

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to