TWindowMagnetOptions class
Implements options which control magnetic window behavior in form instances.
Declaration
TWindowMagnetOptions = class(TPersistent)Inheritance
- TWindowMagnetOptions
- TPersistent
- TObject
Description
TWindowMagnetOptions is a class which implements options needed to
control magnetic window behavior when a form is snapped to another form or to
an edge on the screen. It introduces properties with default values which
enable or disable the snapping behaviors for forms or the screen. It also
includes a property to set the proximity or threshold where snapping behavior
is engaged.
TWindowMagnetOptions is the type used to implement the SnapOptions property in TCustomForm and descendent classes. It is also passed as an argument to the SnapToMonitor and SnapToForms methods in TWindowMagnetManager.
Added in LCL version 3.0.
See also
Properties
SnapToMonitor | published | Enables or disables snapping a form to one of the edges on the monitor. |
SnapToForms | published | Enables or disables snapping the current form to another form in the application. |
SnapFormTarget | published | Enables or disables snapping another form in the application to the form instance. |
Distance | published | Distance from (or proximity to) a snap target where the snapping behavior is automatically engaged. |
Methods
Create | public | Constructor for the class instance. |
AssignTo | public | Implements object persistence for TWindowMagnetOptions instances. |
Inherited
From TPersistent (8)
Assign DefineProperties Destroy FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
