Hello. I have another question.
In a form on my app, i am checking to see if a field has data before the
user can continue on.  I am wondering how to stop a frmCloseEvent from
happening.  My code looks like this:
case frmCloseEvent:
  {
   if( FldGetTextLength( getObject( form, InputOneDeviceNameField ) ) == 0 )
   {
    FrmAlert( NeedDeviceNameAlert );
    FrmGotoForm( InputOneForm );
   }
   else
   file://store any modified fields
   getFields();

  }
  break;

The alert comes up fine, but i can't return control back to the window i
just came from. It always goes to the app launcher.  Any suggestions on how
to keep control in my form?  Thanks
Andrew



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