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.
Examples
- 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
info
If you want to pass a dynamic value to the Default Button parameter, you can use 0, 1, TRUE or FALSE.
warning
The text of the "Yes" and "No" buttons depend on the language of the operative system. Applicable to Win32 systems only