Standard style properties
Align
The horizontal alignment of the control or label relative to the parent control or the HTML player if there is no parent control.
Valid values: Center, Default, Justify, Left, or Right.
Data type: Enumeration
BgColor
The background color of the control or label.
Valid values: See
Color values.
Data type: String
Cell
This property is used to set style properties for cells. For more information, see
Cell style properties.
Color
The text color of the control or label.
Valid values: See
Color values.
Data type: String
Columns
The number of columns to use when displaying a list. Use only with the style keyword.
Valid values: A positive integer.
Data type: Integer
Control
Set style properties for controls. For more information, see
Control style properties.
Cursor
The type of cursor that will appear above the control.
Valid values: Auto, CrossHair, Default, Pointer, Move, EResize, NEResize, NResize, NWResize, WResize, SWResize, SResize, SEResize, Text, Wait, or Help.
Data type: Enumeration
ElementAlign
The position of the control or label relative to the previous control or label.
Valid values: Default, NewLine, or Right.
Data type: Enumeration
Font
Set style properties for fonts. For more information, see
Font style properties.
Height
The vertical size of the control or label. If no units are specified, pixels (“px”) will be used.
Valid values: See
Units of length.
Data type: String
Hidden
Whether the control or label is hidden. The default value is False.
Valid values: True or False.
Data type: Boolean
_Image
The image to use for the control or label. This property is deprecated, use Image.Position instead.
Valid values: The name and location of an image file.
Data type: String
ImagePosition
The position of the image relative to the text. This property is deprecated, use Image.Position instead.
Valid values: Bottom, ImageOnly, Left, None, Right, or Top.
Data type: Enumeration
Indent
How far the control or label is indented from the left of the HTML player.
Valid values: A positive integer.
Data type: Integer
Orientation
The orientation of a list. Use only with the style keyword.
Valid values: Column, Default, or Row.
Data type: Enumeration
Rows
The number of rows that to use when displaying a list. Use only with the style keyword.
Valid values: A positive integer.
Data type: Integer
VerticalAlign
The vertical alignment of the control or label relative to the parent control or the HTML player if there is no parent control.
Valid values: Baseline, Bottom, Default, Middle, Sub, Super, TextBottom, TextTop, or Top.
Data type: Enumeration
Width
The horizontal size of the control or label. If no units are specified, pixels (“px”) will be used.
Valid values: See
Units of length.
Data type: String
ZIndex
Whether the control or label appear above or below other controls when they overlap. When two controls overlap, the one with the higher ZIndex will appear on top. The default value is zero.
Valid values: A positive or negative integer.
Data type: Integer
Example
The following example shows how standard style properties should be defined in mrScriptMetadata:
Q1
"Rating" Style ( Color = "Blue", ElementAlign = Right, Hidden = False )
categorical [1] {High, Medium, Low};
See