Hai Friends 
I  developed one palm application, that  application  have  one button name
"exit"
 when I press  the button 'exit'  button , need to close my application and
come out to Palm desktop. 
I wrote the code for that button , 
like the following , but  I got  an error and empty screen   when I prees
the Exit button.
///*************Exit Button event Handling************///////////
   case ctlSelectEvent:
   {
      switch(event->data.ctlSelect.controlID)
     {
        case PatientListExitButton:
          {
            DmCloseDatabase(PatientDB);             //these are all my
databases
            DmCloseDatabase(BioMetricsDB);
            DmCloseDatabase(MedicationDB);
             FrmCloseAllForms();  // close all forms opend in my application
          }
}
///************************//////////////

any one knows please help me.
Advance thanks
Thanks and Regards
rathaiah



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