The width of the client area for the control.
Source position: controls.pp line 1778
public property TControl.ClientWidth : Integer |
ClientWidth is an Integer property with the number of pixels need for the width of the client area on the control. The property contains the value from the Right member in ClientRect. Changing the value for ClientWidth causes SetClientSize to be called to apply the new property value and the existing ClientHeight for the control.
The value for ClientWidth is not stored or used to set the Width for the control during LCL component streaming. It is used, however, when AutoSizing is restored and when auto-layout policies using Anchors are applied to the control. For example, when Anchors is set to [akRight] the value in ClientWidth is needed / used.
|
Size of the client area for the control. |
|
|
The height for the client area on the control. |
|
|
Contains True while auto-sizing is in progress. |
|
|
Enables automatic sizing for the control. |
|
|
Applies an automatic adjustment layout policy to the control. |
|
|
Checks for changes and calls DoOnResize if needed. |
|
|
The set of anchor definitions for this control. |
CT Web help |
CodeTyphon Studio |