ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The LeftIndent property gets and sets the space to the left of the text in a control.
This property applies to the following fields:
  • 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.
  • WINDEV the Ribbon controls.
  • the Tab controls.
  • Static Text controls.
This space is expressed in pixels.
Table control without left indent
Table control without left indent
Table control with left indent set to 20 pixels
Table control with left indent set to 20 pixels
Example
// Applique un retrait de 20 pixels pour toutes les colonnes du champ Table
TABLE_Table1.RetraitGauche = 20
// Applique un retrait supplémentaire à la colonne Jour de la ligne en cours
COL_Jour.RetraitGauche = 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 field to be manipulated:
  • 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 Text control.

Changing the left indent of a control Hide the details

<Control used>.LeftIndent = <New indent>
<Control used>: Control name
Name of the field to be manipulated:
  • 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 Text control.
<New indent>: Integer
Number of pixels that will be used to indent the text in the specified control.
Note: Indentation on the entire Table control: If one of the columns has a specific indentation, the new indentation will not be applied to this column.
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help