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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Dialog.RunSheet

Runs dialog as sheet.

Component Version macOS Windows Linux Server iOS SDK
Dialog 4.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Dialog.RunSheet"; WindowRef )   More

Parameters

Parameter Description Example
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0

Result

Returns Ok or error.

Description

Runs dialog as sheet.
Please pass reference to a window to use as parent window.

The script will be triggered later and you can query the button clicked with Dialog.GetButtonPressed or Dialog.GetLastResult. The button clicked is also passed as parameter to the script. Use Dialog.SetSheetFileName and Dialog.SetSheetScriptName to define which script to run.

See also

Example Databases

Created 18th August 2014, last changed 25th November 2019


Dialog.Run - Dialog.SetAlternateButton

Feedback: Report problem or ask question.