Skip to main content

TcxCustomEditProperties.ClickKey Property

Specifies a key combination that raises the OnButtonClick click event for the default button within the editor.

Declaration

property ClickKey: TShortCut read; write; default VK_RETURN + scCtrl;

Property Value

Type Description
TShortCut

The keystroke that raises the OnButtonClick event for the default button.

Remarks

The OnButtonClick event occurs every time a user clicks a button within the editor. Certain TcxCustomEdit descendants can display multiple buttons within the edit box (TcxButtonEdit/TcxDBButtonEdit, for example). However, only one editor button can be associated with the default action.

Use the ClickKey property to modify a keystroke required to imitate a click on the default editor button.

Default Value

The ClickKey property’s default value is VK_RETURN + ssCtrl ( Ctrl + Enter ).

See Also