appglobalswitch OnSwitch event
Return to Introduction  Previous page  Next page
Applies to
acAppGlobalSwitch component.  

Declaration
type  
  TacAppGlobalSwitchEvent = procedure(Sender: TObject; Value: Boolean) of object;  
 
property OnSwitch: TacAppGlobalSwitchEvent;  

Description
The OnAlert event occurs when application changes the Value property in any acAppGlobalSwitch component, connected to THIS component.  
 
Connected components is the component specified in GlobalSwitch property, plus all components which connected to THIS acAppGlobalSwitch component.  

See also
GlobalSwitch, Value and RegistrySaver properties.