MessageRequester()
Syntax
Result = MessageRequester(Text$ [, Flags])Description
Opens a blocking requester to display some information. The program execution is totally stopped until the user close the requester.
Parameters
Text$ The text displayed in the requester window. Flags (optional) It can be one of the following value: #PB_MessageRequester_Ok : to have the 'ok' only button (default) #PB_MessageRequester_YesNo : to have 'yes' or 'no' buttons
Return value
It can be one of the following constants:#PB_MessageRequester_Yes : the 'yes' or 'ok' button was pressed #PB_MessageRequester_No : the 'no' button was pressed
Example: Simple MessageRequester (usually for information purposes only)
MessageRequester("Just a short information text.")
Example: MessageRequester with Yes / No buttons (usually to question)
Result = MessageRequester("Please make your input:", #PB_MessageRequester_YesNo) If Result = #PB_MessageRequester_Yes ; pressed Yes button Debug "Yes" Else ; pressed No button Debug "No" EndIf
Supported OS
All