Vcl.Forms.TControlScrollBar.Margin

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Margin: Word read FMargin write FMargin default 0;

C++

__property System::Word Margin = {read=FMargin, write=FMargin, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TControlScrollBar

Description

Determines when a scroll bar is generated.

The Margin property determines the minimum number of pixels that must separate each control from the edge of the control that uses the scroll bar. At runtime, whenever a child control is less than Margin pixels from the edge and Visible is set to true, a scroll bar appears.

See Also

Code Examples