Hello all,

I have the following scenario: I would like to pop up a modal form with no
buttons on it (so it can't be a conventional FrmDoDialog which is dismissed
by a button click). I need it to say something such as 'Please wait...'
while I perform an operation which is going to take a while, then dismiss it
after the operation has finished.
I can achieve this using FrmPopupForm, and respond to the frmOpen event by
calling the processing and then doing an FrmReturnToForm(0).

However, consider this situation:

{
...
    FrmPopupForm(WaitForm); /* Launch please wait dialog and perform
processing that takes ages */
    drawTableStuff(); /* now draw the table with the results */
...
}

This won't work as I intend it to because the 'please wait' form won't
appear until the current function returns to the events handler at the top.
So the result is that I'll draw the table etc. /then/ the dialog will appear
afterwards and do the processing I intended it to do before.
FrmDoDialog will not work because this should not be a form that is
dismissed by the user.

Any ideas would be much appreciated.

Thanks

Phil Hodge




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

Reply via email to