Contents
Display Legacy Contents

 Print
    YesNo      
This Function returns a <boolean>, which is the result of a search for a record in a Database, in compliance with the specified Conditions.

Parameters

Default Button <boolean>
  Button to select by default.
   
Window's Title <string>
  Title to display in the opening window.
   
Text to show <string>
  Question to perform to the user.

     
Example 1
YesNo(NO, "Exit", "Do you want to exit the application?")

If the user presses the "Yes" button
Result = TRUE

If the user presses the "No" button
Result = FALSE

     
  • If you want to pass a dynamic value to the Default Button parameter, you can use 0, 1, TRUE or FALSE.
  • The text of the "Yes" and "No" buttons depend on the language of the operative system.

See also
Samples
Sample 1
Sample 2
 
Updated: 3/22/2013 4:15 PM