lookAndFeel | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Specifies which platform the user-interface controls resemble. | ||||||
Introduced | 1.0 | ||||||
Changes | The "Appearance Manager" option was introduced in version 1.1. In previous versions, LiveCode applications always used the Platinum appearance on Mac OS systems, regardless of which theme was selected on the user's system. | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: word, default, system Property: emacsKeyBindings, activatePalettes, hiliteBorder Command: focus Function: stacks, platform Glossary: property, checkbox, behavior, Mac OS, user interface, OS X, appearance, Unix, radio button, active control, button menu, object, control Object: scrollbar, stack | ||||||
Description | Use the lookAndFeel property to preview the appearance of stacks on a platform other than the one you're developing on. The lookAndFeel property determines the appearance and behavior of scrollbars, object borders, checkboxes and radio buttons, and button menus. It also changes the appearance of the active control|active (focused) control. However, changing this property does not provide an exact representation of the appearance and behavior of the stack on the target platform. For example, cursors do not change, and neither do the placement of the menu bar or the way window dragging and resizing works. Only the appearance of controls is affected. By default, the lookAndFeel is set to the platform the stack is being used on. On Windows XP, Mac OS and OS X systems, the lookAndFeel is set to "Appearance Manager" by default. The "Appearance Manager" option can be used only on Windows XP, Mac OS and OS X systems. If you set the lookAndFeel to "Appearance Manager" on a Unix system, it is reset to "Motif". Similarly, if you set the lookAndFeel to "Appearance Manager" on a pre-Windows XP system, it is reset to "Windows 95". On Mac OS systems, the native Appearance Manager drawing routines are much slower than the emulated Platinum routines. Setting the lookAndFeel to "Macintosh" rather than "Appearance Manager" will speed up drawing of controls.
| ||||||
Tags | ui |