DISPLAYS A WINDOW WITH A TEXT, A RED ERROR SIGN AND TWO BUTTONS
ACTION
The function displays in a window the text T (one line), a red error sign and two buttons "Yes" and "No".
The program is frozen and resumes when user closes The window.
The function returns:
0 when user closes the window by clicking on the closing icon (red cross),
1 when user closes the window by clicking on the button YES,
2 when user closes the window by clicking on the button NO.
SYNTAX:
Result=MESSAGE_ERROR_YES_NO(T)
USE ERROR EXAMPLE
rem display an error message
if message_error_yes_no("Abort ?")=1 then - - -
MESSAGE_ERROR_YES_NO()
MESSAGE_ERROR_YES_NO(T)
SEE ALSO
MESSAGE
MESSAGE_CONFIRMATION_OK()
MESSAGE_CONFIRMATION_YES_NO()
MESSAGE_ERROR_OK()
MESSAGE_INFORMATION_OK()
MESSAGE_INFORMATION_YES_NO()
MESSAGE_INPUT()
MESSAGE_INPUT$()
MESSAGE_TEXT$
MESSAGE_WARNING_OK()
MESSAGE_WARNING_YES_NO()