Vcl.ExtCtrls.TSplitter.AutoSnap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoSnap: Boolean read FAutoSnap write FAutoSnap default True;

C++

__property bool AutoSnap = {read=FAutoSnap, write=FAutoSnap, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TSplitter

Description

Determines whether neighboring objects are resized to zero when the splitter is used to make them smaller than MinSize.

Set AutoSnap to false to prevent the splitter from resizing neighboring objects to zero when the user tries to make them smaller than MinSize. When AutoSnap is false, such resize attempts are simply blocked, leaving the neighboring object with a size of MinSize. The default value of AutoSnap is true.

See Also