Simulates a double right-click on an item or subitem.
TestObj.DblClickItemR(Item, Subitem, Shift)
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
|Subitem||[in]||Optional||Variant||Default value: 0|
|Shift||[in]||Optional||TShiftKey||Default value: skNoShift|
The method is applied to the following objects:
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.
Specifies the subitem you want to click. Like the Item, it can be specified by its caption or zero-based index.
If SubItem is -1, the click will be simulated in center of the entire Item bound rectangle, including the icon, label and column descriptions (for the report view style).
Specifies whether the CTRL, ALT or SHIFT keys will be pressed during the click. The default value is skNoShift (no shift key pressed). See
If the item (or subitem) is not found in the list view,
DblClickItemR fails and posts an error message to the test log.
To view an example that demonstrates how to use the
DblClickItemR action, see Selecting List View Items in Desktop Windows Applications.
Selecting List View Items in Desktop Windows Applications
DblClickItemR Action (Specific to Win32 ListView and Infragistics UltraListView Controls)
DblClickItemRXY Action (Specific to Infragistics UltraListView Controls)
DblClickItemXY Action (Specific to Infragistics UltraListView Controls)
ClickItem Action (Specific to Win32 ListView and Infragistics UltraListView Controls)