XUL tree can combine tree view and grid controls. The
ClickItemR action moves the mouse pointer to the item specified by Item in the Column column and then simulates a single click of the right mouse button over this item.
TestObj.ClickItemR(Item, Column, Shift)
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
|Column||[in]||Optional||Variant||Default value: 0|
|Shift||[in]||Optional||TShiftKey||Default value: skNoShift|
The method is applied to the following object:
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The method has the following parameters:
Specifies the desired item. You can enter the item’s index (from 0) or its caption. The caption can contain asterisk (*) or question mark (?) wildcards or regular expressions. The asterisk (*) corresponds to a string of any length (including an empty string), the question mark corresponds to any single character (including none). To specify more complicated parts of a caption, use regular expressions.
The caption can be case-sensitive or case-insensitive depending on the value of the Use case-sensitive parameters project setting.
This parameter specifies the column where a click will be performed. It can be an item's caption, or the column's index (from 0). If it is omitted, the default value is 0, that is click actions will be performed over the items of the first column of the XUL tree control.
Specifies whether the CTRL, ALT or SHIFT keys will be pressed during the click. The default value is skNoShift (no shift key pressed). See
To view an example that demonstrates how to use the
ClickItemR action, see ClickItem Action (Specific to XULTree Controls).