Description
Use the DblClickRowIndicator
action to simulate a double-click of the left mouse button over a row indicator or a card caption.
Declaration
TestObj.DblClickRowIndicator(Row, View, Shift)
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
Row | [in] | Required | Variant | |
View | [in] | Optional | Variant | Default value: 0 |
Shift | [in] | Optional | TShiftKey | Default value: skNoShift |
Result | None |
Applies To
The method is applied to the following objects:
View Mode
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Parameters
The method has the following parameters:
Row
Specifies the index of the desired row (card). Indexes of data rows and cards start from 0 and increase down the grid. So, the first visible data row (card) has index 0, the second is 1, and so on. Group rows have negative indexes that start from -1 and decrease down the grid. So, the first group row index is -1, the second group row index is -2, and so on.
View
Specifies the grid view that contains the row (card). You can enter the view’s zero-based index 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.
The default value of the View parameter is 0 and corresponds to the leftmost view in the current grid level.
Shift
Sets whether the Shift, Alt or Ctrl keys are pressed during the click event (see TShiftKey). By default, this parameter is skNoShift
(the shift keys are not pressed).
Result Value
None.
Remarks
If the row with the specified index was not found, DblClickRowIndicator
fails and posts an error message to the test log.
See Also
DblClickRowIndicatorR Action (Specific to DevExpressQuantumGrid Controls)
ClickRowIndicator Action (Specific to DevExpressQuantumGrid Controls)