Claude Frainier wrote:

>I can't retreive the text field in my modal dialog.
By the time FrmDoDialog returns, your form is gone, and so is any text in 
fields in the form.

You need to use an event handler in your dialog: if the OK bvutton is 
hit, save the text, if Cancel is hit, don't. (assuming you have OK and 
cancel buttons: adjust to suit your dialog). This is also a good time to 
do any input validation you need. Return true from the event handler if 
you want the dialog to stay up, return false when the input is valid, and 
the dialog will go away.

Dave Johnson

-- 
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