Use the DEFAULTBUTTON tag and specify your 'cancel' button instead. -Ken
> ---------- > From: Benjamin Brazil[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, March 06, 2002 9:25 AM > To: Palm Developer Forum > Subject: Alert box defaults > > Hello, > I am using an alert box to confirm that the user wishes to delete a record > > from a databse. The alert box works fine and so does the buttons. However > if > the user exits the program via the hardkeys or the home button the record > gets deleted anyway. I need to define a default so that the record is not > deleted if the program is exited with the alert box open. Could someone > tell > me how this is done. I am using C and CodeWarrior 7. I am not using the > constructor, but the PilRC tools. > > Thank you for your advice, > Benjamin Brazil > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/tech/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
