ADOBE DIRECTOR 11.0
User Guide
414
set tempItemPropList = GetItemPropList(theBox)
set the type of tempItemPropList = #pushButton
set the title of tempItemPropList = "OK"
append (aWindowItemList, duplicate(tempItemPropList))
-- Set up end of overall group
set tempItemPropList = GetItemPropList(theBox)
set the type of tempItemPropList = #groupHBegin
append (aWindowItemList, duplicate(tempItemPropList))
-- Last, set up end of window
set tempItemPropList = GetItemPropList(theBox)
set the type of tempItemPropList = #windowEnd
append (aWindowItemList, duplicate(tempItemPropList))
put aWindowItemList
-- [
[#value: 0, #type: #WindowBegin, #attributes: [], #title: "title", #tip: "tip", #locH: 20,
#locV: 24, #width: 200, #height: 210, #enabled: 1],
[#value: 0, #type: #GroupHBegin, #attributes: [], #title: "title", #tip: "tip", #locH: 20,
#locV: 24, #width: 200, #height: 210, #enabled: 1],
[#value: "Enter text here", #type: #editText, #attributes: [], #title: "title", #tip: "tip",
#locH:
20, #locV: 24, #width: 200, #height: 210, #enabled: 1],
[#value: 0, #type: #pushButton, #attributes: [], #title: "OK", #tip: "tip", #locH: 20, #locV:
24, #width: 200, #height: 210, #enabled: 1],
[#value: 0, #type: #GroupHBegin, #attributes: [], #title: "title", #tip: "tip", #locH: 20,
#locV: 24, #width: 200, #height: 210, #enabled: 1],
[#value: 0, #type: #WindowEnd, #attributes: [], #title: "title", #tip: "tip", #locH: 20,
#locV:
24, #width: 200, #height: 210, #enabled: 1]
]
Possible attribute settings
To specify the attributes of a general purpose dialog box component, assign a list of attribute specifications to the
component’s #attributes property.
What you can specify depends on the type of component. The following are possible properties and values you can
specify for a component’s attribute property. The available attributes vary depending on the type of component.
Attribute
Possible values
Can be set for
#textSize
One of the following: #large, #tiny, #normal(default)
Strings
#textStyle
A list that includes any of the following attributes: #bold, #italic, #under-
line, #plain (default), #inverse (v2)
Strings
#textAlign
One of the following: #left, #right, #center (defaults to system language
standard)
Strings
#popupStyle
One of the following: #tiny, #cramped, #normal (default)
Pop-ups
#valueList
A list of values that appear in a pop-up. All values are coerced to strings. For
example, Director treats ['one', #two, 3, 4.0] as four pop-up items, each of
which is treated as a string.
Pop-ups
#valueRange
A list of a slider’s minimum, maximum, increment, jump, and acceleration
values. Available properties to set are #min, #max, #increment, #jump, and
#acceleration. This list is the default setting: [#min:0.0, #max:1000.0, #incre-
ment:1.0, #jump:10.0, #acceleration:0.5]
Sliders