Vcl.ExtCtrls.TSplitter.MinSize
Delphi
property MinSize: NaturalNumber read FMinSize write FMinSize default 30;
C++
__property NaturalNumber MinSize = {read=FMinSize, write=FMinSize, default=30};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TSplitter |
Description
Specifies the minimum size, in pixels, of the panes on either side of the splitter.
Set MinSize to provide a minimum size the splitter must leave when resizing its neighboring control. For example, if the Align property is alLeft or alRight, the splitter cannot resize the regions to its left or right any smaller than MinSize pixels. If the Align property is alTop or alBottom, the splitter cannot resize the regions above or below it any smaller than MinSize pixels. The default value of MinSize is 30.
Note: Always set MinSize to a value less than half the client width of its parent. When MinSize is half the client width of the splitter's parent, the splitter cannot move because to do so would be to resize one of the panes less than MinSize pixels.
See Also
Code Examples