Source language: Translate to:

InputBox - Cancel

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Postby Neosoft Support » Thu Sep 09, 2010 11:46 am

If Cancel is pressed the variable returned by InputBox will be empty. For example:

InputBox "Enter your name:" "[Variable]"
If "[Variable]" ">" ""
.something was entered and OK button pressed
Else
.cancel button was pressed
EndIf
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5605
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBook Action Commands

Who is online

Users browsing this forum: Bing [Bot] and 1 guest