appglobalswitch GlobalSwitch property
Return to Introduction  Previous page  Next page
Applies to
acAppGlobalSwitch component.  

property GlobalSwitch: TacAppGlobalSwitch;  

The GlobalSwitch property used to connect the acAppGlobalSwitch to another, main acAppGlobalSwitch (on the main form).  
Connection is required to to receive OnSwitch events, when the Value property in any connected acAppGlobalAlert component changes.  
iiinfo Connected components is the component specified in GlobalSwitch property, plus all components which connected to THIS acAppGlobalSwitch component. In ideal, you should have one main "switch", and some number of secondary "switches" connected to the main "switch".  

See also
Value and RegistrySaver properties;  
OnSwitch event.