TCustomForm.ScreenSnap property
Indicates whether the form instance can be snapped to an edge on the monitor.
Declaration
property ScreenSnap: Boolean read GetScreenSnap write SetScreenSnap stored False;Description
ScreenSnap is a
Boolean property which indicates whether
the form instance can be snapped to an edge on the monitor. When enabled, an
edge on the form will automatically snap to the nearest screen edge when it is
within the distance where the snapping behavior is engaged.
Use SnapBuffer (or the Distance property in SnapOptions) to define the distance from (or proximity to) an edge where the snapping behavior is engaged.
Use the SnapOptions.SnapToForms to enable or disable snapping the form instance to an edge for another form in the application.
Use the SnapOptions.SnapFormTarget property to control whether the form allows other forms to be snapped to its edges.
Added in LCL version 3.0.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
