Skip to main content

TdxBarItemControl.ControlClick(Boolean,Char) Method

Simulates a mouse click.

Declaration

procedure ControlClick(AByMouse: Boolean; AKey: Char = #0); virtual;

Parameters

Name Type
AByMouse Boolean
AKey Char

Remarks

This method activates the item control as if a user has clicked the item control. ByMouse specifies whether this method has been called by a mouse click. The ControlClick method performs no actions. Descendants can override it to respond to mouse click events.

See Also