Click Action (Specific to DevExpressEditButton Objects)

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

Use the Click action to simulate a single click of the left mouse button over the edit button, to which the DevExpressEditButton object corresponds.

Declaration

TestObj.Click(ClientX, ClientY)

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
ClientX [in]    Optional    Integer Default value: -1   
ClientY [in]    Optional    Integer Default value: -1   
Result Boolean

Applies To

The method is applied to the following object:

View Mode

This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Parameters

The method has the following parameters:

ClientX

Specifies the horizontal coordinate of the point of the click. This coordinate is relative to the object, it is not a screen coordinate. If ClientX is omitted, the click will be simulated in the center of the object.

ClientY

Specifies the vertical coordinate of the point of the click. This coordinate is relative to the object, it is not a screen coordinate. If ClientX and ClientY parameters are omitted, the click will be simulated in the center of the object.

Result Value

True, if the edit button is shown within the control, otherwise False.

Remarks

If TestObj refers to an object of a non-DPI-aware application running with a DPI setting other than 100%, set the ClientX and ClientY parameter values relative to the application (as if the application is running with the 100% DPI setting).

See Also

DevExpressEditButtonCollection Object

Highlight search results