PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..LeftIndent is used to find out and modify the available space on the left of 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).
  • the edit controls.
  • the Combo Box and List Box controls.
  • Versions 17 and later
    the Button controls.
    New in version 17
    the Button controls.
    the Button controls.
  • Versions 18 and later
    WINDEV the Ribbon controls.
    New in version 18
    WINDEV the Ribbon controls.
    WINDEV the Ribbon controls.
  • Versions 20 and later
    the Tab controls.
    New in version 20
    the Tab controls.
    the Tab controls.
  • Versions 22 and later
    the Static controls.
    New in version 22
    the Static controls.
    the Static 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
// Apply a left indent of 20 pixels to all the table columns
TABLE_Table1..LeftIndent = 20
// Apply an additional indent 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 name>..LeftIndent
<Result>: Integer
Number of pixels used to indent the text. The indent is set to 0 pixel by default (no indent).
<Control name>: Character string (with or without quotes)
Name of control to use:
  • table column.
  • edit control.
  • List Box or Combo Box control.
  • Versions 17 and later
    Button control.
    New in version 17
    Button control.
    Button control.
  • Versions 18 and later
    Ribbon control.
    New in version 18
    Ribbon control.
    Ribbon control.
  • Versions 20 and later
    Tab control.
    New in version 20
    Tab control.
    Tab control.
  • Versions 22 and later
    Static control.
    New in version 22
    Static control.
    Static control.

Modifying the left indent of a control Hide the details

<Control name>..LeftIndent = <New indent>
<Control name>: Character string (with or without quotes)
Name of control to use:
  • table column.
  • edit control.
  • List Box or Combo Box control.
  • Versions 17 and later
    Button control.
    New in version 17
    Button control.
    Button control.
  • Versions 18 and later
    Ribbon control.
    New in version 18
    Ribbon control.
    Ribbon control.
  • Versions 20 and later
    Tab control.
    New in version 20
    Tab control.
    Tab control.
  • Versions 22 and later
    Static control.
    New in version 22
    Static control.
    Static control.
<New indent>: Integer
Number of pixels that will be used to indent the text in the specified control.
Note: 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.
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment