Sign in Join
FPDoc Onlineexperiment

TCustomForm.SnapBuffer property

Member of TCustomFormpublicIn unit Forms

Distance from (or proximity to) an edge on a snap target where the snapping behavior is automatically engaged.

Declaration

pascal
property SnapBuffer: Integer read GetSnapBuffer write SetSnapBuffer stored False;

Description

Screen snapping depends on the LM_WINDOWPOSCHANGING message dispatched when the position for a form (window) is changed. In the current LCL release, the LM_WINDOWPOSCHANGING message is dispatched for the Windows platform only. None of the other widgetsets checked for or apply the message.

Added in LCL version 3.0.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.