formmagnet MagnetType property
Return to Introduction  Previous page  Next page
Applies to
acFormMagnet component.  

  TacMagnetType = (mkOnMoving, mkAfterMoving);  
property MagnetType: TacMagnetType;  

The MagnetType property controls how the acFormMagnet component will magnetize current form to other forms and screen sides.  
If MagnetType is mkOnMoving, the form will be attracted to others, every time when user moving the form on the screen (during the moving process).  
If Magnet is mkAfterMoving, the form can be moved freely by whole screen and will be pulled to other forms once user releases the mouse button (after the moving process).