I was just reading
this article over on
delphi.about.com about getting forms to snap to the edges of the screen. Since at least Delphi 7 this functionality has been built into the VCL and is available through two properties on TCustomForm called ScreenSnap and SnapBuffer.
- ScreenSnap is a boolean and toggles the feature on/off.
- SnapBuffer is the distance in pixels from the edge of the screen that you want snapping to occur, the default is 10 pixels.
3f5ca9bf-b90c-43cd-befa-33e6a1c30197|0|.0
Tags: Delphi, VCL
Spam filtering provided by:
333 comments approved,
1463 spam caught since October 28, 2009