-- Lingo syntaxwindowObjRef.appearanceOptions // JavaScript syntaxwindowObjRef.appearanceOptions;
Window property; specifies a list of properties that stores the appearance options of a window. Read/write.
The property list contains the following properties.
| Property | Description |
|---|---|
|
|
Specifies the 1-bit cast member to use as a mask for the window. |
|
|
Specifies the type of border for the window. This property can be one of three values:
The #none and #line properties are only effective if the |
|
|
(Macintosh only) Specifies whether the window should have a metal look ( |
|
|
Specifies the 1-bit cast member to use as a mask for a region of the window. |
|
|
(Macintosh only) Specifies whether the window should have a shadow. Macintosh windows typically have a shadow. |
|
|
(Macintosh only) Specifies whether the window should have live resizing. If |
These properties can also be accessed by using the Movie object's displayTemplate property.
This statement displays in the Message window all current appearance options for the window named Control Panel:
-- Lingo syntax
put(window("Control Panel").appearanceOptions)
// JavaScript syntax
put(window("Control Panel").appearanceOptions);
This statement sets the border property to display a 1-pixel border around the window named Control Panel:
-- Lingo syntax
window("Control Panel").appearanceOptions.border = #line
// JavaScript syntax
window("Control Panel").appearanceOptions.border = "line";
displayTemplate, titlebarOptions, visible, Window