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

Declaration
property OnMenuClick: TNotifyEvent;  

Description
The OnMenuClick event occurs when the user selects the menu item, associated with this caption button, in the system menu.  
 
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, OnButtonClick, OnPressed and OnReleased events.