Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

This function checks for a license.

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


Dialog.Run - Dialog.SetAlternateButton