formmagnet OnMagnet event
Return to Introduction  Previous page  Next page
Applies to
acFormMagnet component.  

Declaration
type  
  TOnMagnet = procedure(Sender: TObject; AnotherForm: TForm;  
                var AllowMagnet: Boolean) of object;  
 
property OnMagnet: TOnMagnet;  

Description
The OnMagnet event occurs when the form is about to be attracted to other form. You may allow or disallow magnetization, using AllowMagnet variable.  

See also
OnGlue event.