appautorun OnButtonClick event
Return to Introduction  Previous page  Next page
Applies to
acAppAutoRun component.  

Declaration
type  
  TacAppAutoRunButtonClickEvent = procedure(Sender: TObject; AutoRun: Boolean) of object;  
 
property OnButtonClick: TacAppAutoRunButtonClickEvent;  

Description
The OnButtonClick event occurs when user clicks the button autorun on title bar or selects the menu item in system menu, associated with this acAppAutoRun component. The AutoRun parameter determines the current button state (autorun ot autorun2) and value of AutoRun property.  

See also
OnClick property of TacCaptionButton component.