YesNoQuestion function
Prototype: |
function YesNoQuestion (const Str: string): boolean; |
|
Description: |
The procedure displays a confirmation dialog containing a question mark, a text specified by the Str parameter and Yes and No buttons. |
|
Syntax: |
variable := YesNoQuestion(Str); |
|
Part |
Description |
|
variable |
Variable declared as boolean |
|
Str |
Variable declared as string that is displayed in the message box. |
|
Return value: |
True/False if the user clicks the "Yes"/"No" button, respectively |
|
Example:
Var question : boolean;
Begin
question := YesNoQuestion('Close Field-Map Data Collector?');
if question = true then
CloseFieldMap('');
End.
Output in Field-Map Data Collector:
![]()
See also:
ShowMessage; ShowMsg; ShowInformation; ShowWarning; ShowError; YesNoQuestion; BlinkingMessage; OpenWebPage
© 2024 IFER-Monitoring and Mapping Solutions