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 BottomIndent property gets and sets the space at the bottom of the text (bottom margin) in a control.
This property is available for:
  • Edit controls.
  • Static controls.
Remark: This property is equivalent to setting the bottom margin:
  • For Static controls: the bottom margin is defined in the "Style" tab of the control description window ("Outside borders", "Margins", "Bottom margin").
  • For an Edit control, the bottom margin is defined in the "Style" tab of the control description window ("Input area", "Margins", "Bottom margin").
Example
// Define a margin equal to 4 pixels at the top and bottom of Static control
STC_Date.BottomIndent = 4
STC_Date.TopIndent = 4
// Keep a 5-pixel margin at the top and bottom of the input area
EDT_CarName.BottomIndent = 5
EDT_CarName.TopIndent = 5
Syntax

Getting the value of the bottom margin Hide the details

<Result> = <Control used>.BottomIndent
<Result>: Integer
Number of pixels of the bottom margin. The indent is set to 0 pixels by default (no indent).
<Control used>: Control name
Name of the control used:
  • Static control,
  • Edit control.

Changing the value of the bottom margin Hide the details

<Control used>.BottomIndent = <New value>
<Control used>: Control name
Name of the control used:
  • Static control,
  • Edit control.
<New value>: Integer
New value for the bottom margin (in pixels). This value must be positive.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help