Icon TClickEvent

Unit: WebCtrls

TClickEvent = function (Sender: TObject): Boolean of object

Available In: Client Applications

The TClickEvent type is a common event type that is used by controls to provide notification that a sub-control has been clicked. For example, the TEditComboBox OnButtonClick event is used to allow the developer to intercept when the combo button is clicked in the control.

The Sender parameter represents the class instance that triggered the event.

To not allow the click, return False as the result to any event handler attached to this event. To allow the click, return True.
Image