formmagnet ScreenPower property
Return to Introduction  Previous page  Next page
Applies to
acFormMagnet component as subproperty of ScreenMagnet.  

property ScreenPower: Byte;  

The ScreenPower property controls the maximum range (in screen pixels), where the form can be attracted to the edge of screen / work area or border of parent form (for MDI childs).  
For example, if ScreenPower is 32, and user moves the form near the edge of screen / work area, approaching the form on distance of 32 screen pixels, the form will be magnetized to certain edge of screen (or to the edge of work area, depending on value of Area property).  

See also
Power and Area properties.