Prev Next

Win32 Control Tagged Values

Various properties that can affect the appearance and behavior of each Win32 dialog and control can be customized at design time via Tagged Values provided by the Win32 User Interface profile.

Tagged Values

Some control types support the addition of special Tagged Values that modify their behavior.

Controls such as Buttons, Check Boxes and Radio Buttons can react to GUI events and execute a JavaScript command. To allow a control to respond to an event, create a new Tagged Value with an appropriate name; for example, 'OnClick', then type the JavaScript command into the value.

Tab Controls can use a 'Tabs' Tagged Value to define the tabs that will appear within this control when it is simulated.

Slider Controls, Spin Controls and Progress Controls can use a 'Range' Tagged Value to define the default minimum and maximum values accepted by the control during simulation.

Tag

Description

Columns

Applies to: List Control

Use: Initializes column names and widths for a List Control. Each column name and width is separated by a semi-colon; for example, "Column1;100;Column2;150;".

OnClick

Applies to: Button

Use: Identifies the JavaScript command to be executed in response to a click event on a Button control.

OnCheck

Applies to: Check Box

Use: Identifies the JavaScript command to be executed in response to a change in the value of a Check Box control.

OnChangeSelection

Applies to:  Radio Button

Use:  Identifies the JavaScript command to be executed in response to a change in the value of a Radio Button control.

Range

Applies to: Slider Control, Spin Control, Progress Control

Use: Specifies the default minimum and maximum values for the control, separated by a semi-colon: for example, "1;100".

Tabs

Applies to: Tab Control

Use: Specifies the name of each tab to be created for the Tab Control, separated by a semi-colon: for example, "Tab 1;Tab 2;Tab 3;".

Learn more