Control style properties
These properties are children of the Control property and can only be used with the style keyword.
Properties
Accelerator
Data type: String
Valid values: Any keyboard character.
The accelerator key that can be used to access the control by simultaneously pressing Alt and the accelerator key.
Readonly
Data type: Boolean
Valid values: True or False
Whether the contents of the control are read-only. The default value is False.
Type
Data type: Enumeration
Valid values: Button, CheckButton, ComboList (reserved for future use), Date, DateTime, DropList, Edit, ListBox, ListControl, MultiLineEdit, Password, RadioButton, SingleLineEdit, Static, or Time.
The type of control to use. This is the default property for the Control object.
Example
The following example shows how control style properties should be defined in mrScriptMetadata:
Q3 "Rating" Style ( Control ( Accelerator = "R", Type = ListBox ) ) categorical [1] {High, Medium, Low};
Because Type is the default child property, it can also be defined using a shortened form as shown below. However, if you define Type in this way, you cannot define any other control style properties:
Q3 "Rating" Style ( Control = ListBox ) categorical [1] {High, Medium, Low};
See