Difference between revisions of "Lua:createForm"
Jump to navigation
Jump to search
(Initial page creation.) |
m (Syntax Highlighting.) |
||
| Line 21: | Line 21: | ||
===Examples=== | ===Examples=== | ||
| − | < | + | <syntaxhighlight lang="lua" line> |
local form = createForm(false) | local form = createForm(false) | ||
form.Caption = "My tool" | form.Caption = "My tool" | ||
form.show() | form.show() | ||
| − | </ | + | </syntaxhighlight> |
{{LuaSeeAlso}} | {{LuaSeeAlso}} | ||
| + | |||
| + | {{Creation}} | ||
Latest revision as of 23:45, 26 June 2026
Creates a CEForm window.
Forms are visible by default. Pass false when the layout must be configured before showing the form.
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| visible | Boolean | Optional. True by default; set to false to create the form hidden. |
Returns[edit]
CEForm — The newly created form.
Examples[edit]
1 local form = createForm(false)
2 form.Caption = "My tool"
3 form.show()