Vcl.StdCtrls.TEditMargins.Auto

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Auto: Boolean read FAuto write SetAutoMargin default False;

C++

__property bool Auto = {read=FAuto, write=SetAutoMargin, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TEditMargins

Description

Use the Auto property to sets the Left and Right margins to 0 and allows the control to set its own narrow margins based on its font.

Note: Using the Auto property with RichEdit controls does not respond effectively; it sets the left margin to 0.

See Also