Default Property (TcxEditButton)

Applies to TestComplete 14.60, last modified on April 22, 2021

Specifies if the button is the component’s default button.

Declaration

componentObj.Default
Read-Write Property Boolean
componentObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following objects:

TcxEditButton

Description

The Default property specifies whether an edit button of a TcxButtonEdit component is the default button. The only difference between the default button and other edit buttons is that a user can “click” the default button by pressing the shortcut that is specified by the ClickKey property. That is, if the user presses this shortcut, the component’s OnButtonClick event occurs.

The component can only have one default button. If you assign True to the Default property of one of the edit buttons, the Default property for other edit buttons is automatically switched to False.

Property Value

A boolean value that specifies whether the edit button is the default edit button of the TcxButtonEdit component.

See Also

OnButtonClick Event
ClickKey Property

Highlight search results