Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets a timeout for the dialog in seconds.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Dialog | 5.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
Value | The new timeout value in seconds. | 30 |
Returns OK or error.
Run a dialog with timeout:
Set Variable [$r; Value:MBS("Dialog.Reset")]
Set Variable [$r; Value:MBS("Dialog.SetIcon"; Dialog::Icon)]
Set Variable [$r; Value:MBS("Dialog.SetInformativeText"; Dialog::InformativeText)]
Set Variable [$r; Value:MBS("Dialog.SetMessage"; Dialog::Message)]
Set Variable [$r; Value:MBS("Dialog.SetMode"; "Warning")]
Set Variable [$r; Value:MBS("Dialog.SetWindowTitle"; Dialog::WindowTitle)]
Set Variable [$r; Value:MBS("Dialog.SetTimeout"; 20)]
Set Variable [$result; Value:MBS("Dialog.Run")]
Set Field [Dialog::Result; $result]
This function is free to use.
Created 11st June 2015, last changed 26th March 2016