[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCustomForm.SnapOptions

Contains the form and screen snapping options for the form instance.

Declaration

Source position: forms.pp line 801

public property TCustomForm.SnapOptions : TWindowMagnetOptions
  read FSnapOptions
  write SetSnapOptions;

Description

SnapOptions is a TWindowMagnetOptions property which contains the magnetic window management option settings for the form instance. SnapOptions contains settings which allow the form instance to be snapped to edges either on a monitor or other form instances.

Each form has a SnapOptions property with settings specific to the form instance. SnapOptions is passed as an argument to methods in TWindowMagnetManager which handle snapping the form to another form or an edge on the monitor. Each TScreen instance in the application has a magnetic window manager to respond to snap requests using the option values.

Values in SnapOptions are read and written when properties like SnapBuffer and ScreenSnap are accessed or modified.

Version info

Added in LCL version 3.0.


Version 3.2 Generated 2024-02-25 Home