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

property OnButtonClick: TNotifyEvent;  

The OnButtonClick event occurs when the user clicks the button on title bar.  
If you would like to hook the event when user either clicks the button or selects menu item in the system menu — use OnClick event instead of this.  

See also
OnClick, OnMenuClick, OnPressed and OnReleased events.