Windows Control Functions

The following Windows controls item functions are available in the Scene Composer:

General Actions

Activate: Activates a control's region or a Scene object in runtime. This method is useful with memory-consuming or slow controls that do not perform well under the AutoActivate property.

Deactivate: Deactivates a control's region or a Scene object in runtime. After selecting this option, the control will no longer be accessible.

Button Control

Click: Simulates a left-click on the source application control.

Click Asynchrony: Simulates a click on the source application control with a post message.

CheckBox Control

Activate and Deactivate: See General Actions.

ComboBox Control

Activate and Deactivate: See General Actions.

Select Item: Changes the combo-box control’s selected item in the source window according to the value.

Label Control

Activate and Deactivate: See General Actions.

ListBox Control

Activate and Deactivate: See General Actions.

Select Item: Changes the listbox control’s selected item in the source window according to the value.

ListView Control

Activate and Deactivate: See General Actions.

Check Item: Checks an item in the source window listview control.

Click on Item: Simulates a left button click on the selected item in the source window listview control.

Double Click on Item; Simulates a left button double-click on the selected item in the source window listview control.

Get Item Index: Gets the number of items in the source window listview control.

Get SubItems Text: Gets the list of texts for the source window listview control’s subitem.

Get ToolTip Text of Item: Gets the tooltip for the source window listview control’s item.

Click on Item: Simulates a right button click on the selected item in the source window listview control.

Select Item: Changes the listview control’s selected item in the source view according to the number of the item.

OptionButton Control

Activate and Deactivate: See General Actions.

PictureBox Control

Activate and Deactivate: See General Actions.

Save Image: Saves the content of a control as data in a data object.

TabStrip Control

Activate and Deactivate: See General Actions.

Get Selected Tab: Gets the number of the selected tab in the source window tabstrip control.

Get Tab Index: Gets the number of the tabstrip control’s item in the source window according to the value.

Get Tab Text By Index: Gets the value of the tabstrip control’s item in the source window according to the index number.

Select Tab by Index: Selects the tab item of the tabstrip control’s item in the source window according to the index number.

TextBox Control

Activate and Deactivate: See General Actions.

ToolBar Control

Activate and Deactivate: See General Actions.

Click Asynchrony: Simulates a click on the source application control with a post message.

Click on ButtonSimulates the left-click toolbar control’s item according to the index number.

drop-down; Opens the drop-down arrow on a source toolbar control’s item according to the index number.

drop-down Asynchrony: Opens the drop-down arrow on a source toolbar control’s item according to the number with a post message.

Get Button Index By Text: Gets the number of the selected button in the source window toolbar control’s item according to the value.

Get Button Index By ToolTip Text Gets the number of the selected button in the source window toolbar control’s item according to the tooltip text value .

Get Button Text: Gets the button text in the source window toolbar control’s item according to the index number.

Get ToolTip Text: Gets the tooltip text in the source window toolbar control’s item according to the index number.

Mouse Click on Button: Simulates a left mouse click toolbar control’s item according to the index number.

Right Mouse Click on Button: Simulates a right mouse click toolbar control’s item according to the index number.

TreeView Control

Activate and Deactivate: See General Actions.

Check Node: Checks a node in the source window treeview control according to the node’s index number.

Click on Node: Left-clicks a node in the source window treeview control according to the node’s index number.

Double Click on Node: Double-clicks a node in the source window treeview control according to the node’s index number.

Expand Node: Expands the node in the source window treeview according to the node’s index number.

Get Text of Node: Gets the node’s text value in the source window treeview control according to the node’s index number.

Get Node Index: Gets the number of the source window treeview control’s item according to the node’s value.

Get ToolTip Text of Node: Gets the tooltip value text in the source window toolbar control’s item according to the node’s index number.

Right Click on Node: Right-clicks a node in the source window treeview control according to the node’s index number.

Select Node by Index: Selects a node in the source window treeview control according to the node’s index number.

Select Node by Node name: Selects a node in the source window treeview control according to the node’s name.

Select Node by Node Path: Selects a node in the source window treeview control according to the node’s path.

Selected Node Click: Left-clicks the selected node in the source window treeview control.

Selected Node Double Click: Double-clicks the selected node in the source window treeview control.