Home
Products
Community
Manuals
Contact
Login or Signup

BlitzPlus Docs -> GUI - A-Z -> P -> Proceed

Proceed( message$[,serious] )

Parameters:

message$ - A message to display
serious - A true/false flag indicating whether something serious could happen

Description:

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:

; 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 

Comments

None.

BlitzPlus Manual Forum

Blitz3D Equivalent Command