|
|
|
|
LeftIndent (Property) In french: RetraitGauche
The LeftIndent property is used to get and change the space to the left of the text in a control. This property is applied to the following controls: - the columns of Table and TreeView Table controls (between the beginning of column and the beginning of text).
- edit controls.
- the Combo Box and List Box controls.
- the Button controls.
- the Ribbon controls.
- the Tab controls.
- Static controls.
This space is expressed in pixels. Table control without left indent Table control with left indent set to 20 pixels // Indents all the columns in a Table control by 20 pixels TABLE_Table1.LeftIndent = 20 // Sets an additional indentation to the Day column of the current row COL_Day.LeftIndent = 50
Syntax
Finding out the left indent of a control Hide the details
<Result> = <Control used>.LeftIndent
<Result>: Integer Number of pixels used to indent the text. The indent is set to 0 pixels by default (no indent). <Control used>: Control name Name of the control to be used: - column of a Table control.
- column of a TreeView Table control..
- edit control.
- List Box or Combo Box control.
- Button control.
- Ribbon control.
- Tab control.
- Static control.
Changing the left indent of a control Hide the details
<Control used>.LeftIndent = <New indent>
<Control used>: Control name Name of the control to be used: - column of a Table control.
- column of a TreeView Table control..
- edit control.
- List Box or Combo Box control.
- Button control.
- Ribbon control.
- Tab control.
- Static control.
<New indent>: Integer Number of pixels that will be used to indent the text in the specified control. Remark: Indent applied to the entire Table control: If a specific indent is applied to one of the columns, the new indent will not be applied to this column.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|