default | |
Type | keyword |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Used with the decorations property to specify the standard appearance for a window type. When used within a switch control structure, specifies a section of statements to be executed in all cases. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Keyword: case Property: default, decorations Command: modeless, palette, modal Glossary: property, menu bar, execute, stack window, Windows, control structure, collapse box, keyword, close box, title bar, zoom box, Mac OS, minimize button, Unix, statement, maximize button Control Structure: switch, break |
Description | Use the default keyword to set a stack window to a normal window appearance. An editable window whose decorations property is set to default has a title bar, close box, zoom box, and collapse box (on MacOS systems), or a title bar, minimize button, maximize button, and menu bar (on Unix and Windows systems). A palette, modal, or modeless window whose decorations is set to default has a title bar. If a switch control structure has a default section, the statements in the default section are executed if no break statement has been encountered yet in the switch control structure. (Usually, there is a break statement within each case section, so the default section is executed only if none of the case conditions is true.) |
Tags | windowing |