ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The RightIndent property is used to get and change the space to the right of the text in a control.
This property is available for:
  • Edit controls.
  • Static controls.
  • The Table and TreeView Table control columns (between the end of the column and the end of the text).
Example
// Define a right margin equal to 4 pixels
EDT_Date.RightIndent = 4
// Define a right margin equal to 4 pixels
STC_Date.RightIndent = 4
Syntax

Getting the value of the margin to the right of the text in a control Hide the details

<Result> = <Control used>.RightIndent
<Result>: Integer
Number of pixels used to indent the text on the right. The indent is set to 0 pixels by default (no indent).
<Control used>: Control name
Name of the control to be used:
  • Edit control.
  • Static control.
  • Table control and TreeView Table control columns.

Changing the value of the margin to the right of the text in a control Hide the details

<Control used>.RightIndent = <New indent>
<Control used>: Control name
Name of the control to be used:
  • Edit control.
  • Static control.
  • Table control and TreeView Table control columns.
<New indent>: Integer
Number of pixels that will be used to indent the text on the right in the specified control.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/30/2023

Send a report | Local help