captionbutton OnClick event
Return to Introduction  Previous page  Next page
Applies to
acCaptionButton component.  

Declaration
property OnClick: TNotifyEvent;  

Description
The OnClick event occurs when the user clicks the button on title bar or selects the menu item associated with this caption button in the SystemMenu.  
 
Use OnButtonClick and OnMenuClick events to identify the source of mouse click, and OnPressed / OnReleased events to make some specific operations when user press and release button (if AllowPress = True).  

See also
OnButtonClick, OnMenuClick, OnPressed and OnReleased events;