Lua:createSaveDialog
Jump to navigation
Jump to search
<> Reference
function createSaveDialog(owner) : SaveDialog
Creates a SaveDialog for choosing an output file.
Configure dialog properties before calling execute(). Read the selected value only when execute() returns true.
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| owner | Component | The component that owns the dialog. |
Returns[edit]
SaveDialog — The created SaveDialog object.
Examples[edit]
local form = createForm() local dialog = createSaveDialog(form) if dialog.execute() then print(dialog.FileName) end
See Also[edit]
Main Pages