Is this what you want?
button = FrmAlert(AttentionAlert);
if (button == 0) // 0 is eg. OK button if OK is the first button
// do something
else (button == 1) // 1 is eg. cancel button if cancel is the second button
// do something else
Hope this help.
Jacky
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of maggie
lim
Sent: Monday, February 19, 2001 3:15 PM
To: Palm Developer Forum
Subject: urgent!!buttons on the alert dialog
i like to know what are the codes for using buttons on the alert dialog box.
eg, i've got 2 buttons one is cancel and the other is ok
when i click ok i'm going to send out the word ok and when i click cancel
i'm going to send out the word cancel.
i need the solution urgently it will be better if u give me the sample code
or tell me where to find them
can anyone reply me as soon as possible
thanks
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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/