message$ - A message to display
serious - A true/false flag indicating whether something serious could happen |
Proceed displays a window containg the provided message, along with 3 buttons - YES, NO and CANCEL. The title of the window is set using AppTitle.
If the user selects YES, a value of 1 is returned. If the user selects NO, 0 is returned - otherwise, -1 is returned if CANCEL is selected. See also: Confirm, Notify. |
; Example provided by Mag
result=Proceed("Are you sure?",True) If result=1 Then Notify "I know that you're sure, I just thought I'd ask to annoy you!" If result=0 Then Notify "You're not sure!" If result=-1 Then Notify "You cancelled the process!" End |