Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.ClientWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ClientWidth: Integer read GetClientWidth write SetClientWidth stored False;

C++

__property int ClientWidth = {read=GetClientWidth, write=SetClientWidth, stored=false, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Specifies the horizontal size of the control's client area in pixels.

Use ClientWidth to read or change the width of the control's client area. ClientWidth is equivalent to ClientRect.Right.

For TControl, ClientWidth is the same as Width. Derived classes may implement a ClientWidth property that differs from Width. For example, the ClientWidth of a form is the value of the Width property minus the width of the resize border and scroll bars.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance