TWindowMagnetOptions.SnapToMonitor property
Enables or disables snapping a form to one of the edges on the monitor.
Declaration
property SnapToMonitor: Boolean read FSnapMonitor write FSnapMonitor default False;Description
SnapToMonitor is a
Boolean property which determines
whether magnetic window snapping to an edge on the monitor is enabled. The
default value for the property is
False and disables snapping a form to
an edge on the monitor. When set to
True, the magnetic window manager
will snap the form to the monitor edge when the snapping threshold is reached.
Use Distance to specify the proximity or threshold (in pixels) where the snapping behavior is automatically engaged.
Use SnapToForms to control whether a form instance can be snapped to an edge on other forms in the application.
Use SnapFormTarget to indicate whether a form can be a snap target for other forms in an application.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
