In my application i use the classic FrmPopupForm() and FrmReturnToForm() to let the user navigate back and forth the forms without loosing it's way.
Now i need to jump directly to a certain form if a particular condition occurs when the application is started. The easiest solution is to call FrmPopupForm two times ( the first for the main form and the other for the particular form) but the drawback is that the user can see the first form drawing itself.. it's not very nice. Another way would be to directly send a frmLoadEvent without the usual frmOpenEvent that FrmPopupForm() sends, but i don't feel so nice to send the event myself. I've also tried, when leaving the particular form, to see if there's any other form loaded. If yes, i could use FrmReturnToForm else i call FrmPopupForm( mainForm ), but the problem is that to know if there's another form loaded i need to use FrmGetFirstForm(), but then i'd need to Erase and Delete the current form, otherwise i'll get a pointer to myself. I could also use a global variable to track this and act accordingly but, again, i don't like this so much... i designed the app so each form is indipendent from the others and i want to keep it this way. Anyone can help? Thanks in advance. -- - alex. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
