Skip to main content

TcxCustomEditButton.Default Property

Specifies if the button is the default editor button.

Declaration

property Default: Boolean read; write; default False;

Property Value

Type Default Description
Boolean False

True if the button is the default editor button; otherwise, False.

Remarks

The default editor button is associated with the default action in an editor. An editor’s Properties.OnButtonClick event occurs for the default button every time a user presses the keystroke defined in the editor’s Properties.ClickKey property while the editor has focus.

Set the Default property to True to define the editor button as default. This operation changes the Default property value to False for the previous default editor button because an editor can have only one default editor at a time.

Default Value

The Default property’s default value is False.

See Also