ADOBE DIRECTOR 11.0
User Guide
412
Window beginning
Additional components as desired. This can include nested sets of additional horizontal
and vertical groups, horizontal and vertical dividers, labels, and interface features
such as buttons, check boxes, editable fields, and other interface elements.
Window end
To define individual components, create a property list that specifies each component. For convenience, use the
GetItemPropList function obtain a predefined list of values and then modify properties as needed.
The following are properties for general dialog box components and their possible values:
Possible #value settings for general purpose dialog box components
The #value settings for general purpose dialog box components are crucial for the correct display and editing of data
in the dialog box. The following are possible settings for each type of component:
Property Possible
value
#value
Determines the component’s value type. Possible types are integer, float, or string. See the following section "Possible
#value settings for general purpose dialog box components" for more information about the #value property.
#type
One of the supported component types (see Possible component types)
#attributes
A list that specifies the component’s attributes. Attributes that you can specify depend on the component’s type. See
Possible attribute settings
#title
String used as the title for the component. Specify ""for no title.
#tip
String used as the message in a tool tip. . Specify "" for no tool tip. (Tool tips aren’t supported in the initial release of the
MUI Xtra. This is reserved for possible use in future releases.)
#locH
The distance of the component’s left edge from the left of the dialog box. There is no need to specify this property if
#data is specified for the dialog box’s #mode property.
#locV
The distance of the component’s top from the top of the dialog box. There is no need to specify this property if #data is
specified for the dialog box’s #mode property.
#width
The component’s width in pixels. Specify 0 to have Director automatically size the component’s width. There is no need
to specify this property if #data is specified for the dialog box’s #mode property.
#height
The component’s height in pixels. Specify 0 to have Director automatically size the component’s height. There is no
need to specify this property if #data is specified for the dialog box’s #mode property.
#enabled
TRUE or FALSE. Specify whether the item is enabled.
Component
Possible setting for #value
Examples
#dividerV (Ignored)
(Not
applicable)
#dividerH (Ignored)
(Not
applicable)
#bitmap
Cast member
12, "First bitmap castmember",
number, name, or reference
member 12 of castLib "Internal"
#checkBox Boolean
TRUE,
FALSE
#radioButton Boolean
TRUE,
FALSE
#PopupList
String, integer, or float
1, "Fred", 2.3
#editText String
"Edit
This
Text"
#WindowBegin (Ignored)
(Not
applicable)