ClickNewRowIndicator Action (TreeList Controls)

Applies to TestComplete 15.62, last modified on March 19, 2024

Description

Use the ClickNewRowIndicator action to simulate a click of the left mouse button over the new row’s indicator.

Declaration

TestObj.ClickNewRowIndicator(Shift)

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
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 parameter:

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 given grid does not have the new row, ClickNewRowIndicator fails and posts an error message to the log.

See Also

DblClickNewRowIndicator Action (TreeList Controls)

Highlight search results