Each item of the PropertyGridControl control consists of the label and the data cell. Use the
DblClickLabelR action to simulate a double click of the right mouse button on the label of the specified grid item.
|A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
|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 index or caption of the desired item whose label needs to be clicked.
The index is zero-based, that is, the index of the first item is 0. The index of the last item is
wItemCount - 1.
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 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 specified item is not found,
DblClickLabelR fails and posts an error message to the test log.
To view an example that demonstrates how to use the
DblClickLabelR action, see Expanding and Collapsing Items in Microsoft PropertyGrid.
DblClickLabel Action (Specific to PropertyGrid Controls)
ClickLabel Action (Specific to PropertyGrid Controls)
ClickLabelR Action (Specific to PropertyGrid Controls)
DblClickValue Action (Specific to PropertyGrid Controls)