I have a question about a Palm app that I have
been building using CodeWarrior.

I have a form with some buttons on it. To display
it, my application calls FrmInitForm(myForm) to
load the form into memory, and then it calls
FrmDoDialog(myForm) to display the form and handle
all the user events, while the form is displayed.

When the user taps OK on my form, FrmDoDialog()
restores the display to its appearance before
the form was displayed and returns control to my
application.

Here's my problem: I want the form to sit there for
about 10 seconds. And then, if the user has not
tapped the OK button, I want the form to disappear
and have control returned to my application.

I know how to use the TimGetSeconds()function. But
that doesn't help. Because once I call FrmDoDialog()
my app no longer has control.

Here's my question: Is there an easy way to accomplish
what I am trying to do? I like how FrmDoDialog()
handles the button press events. And frankly, I
don't think I know how process button events if I use
something like FrmDrawForm(myForm). But I suspect
this is what needs to be done. Any Suggestions?

Thanks!

-Michael.








-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to