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

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

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.