PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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:
  • Versions 27 and later
    Edit controls.
    New in version 27
    Edit controls.
    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").
  • Versions 27 and later
    For an Edit control, the bottom margin is defined in the "Style" tab of the control description window ("Input area", "Margins", "Bottom margin").
    New in version 27
    For an Edit control, the bottom margin is defined in the "Style" tab of the control description window ("Input area", "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
Versions 27 and later
// Keep a 5-pixel margin at the top and bottom of the input area
EDT_CarName.BottomIndent = 5
EDT_CarName.TopIndent = 5
New in version 27
// Keep a 5-pixel margin at the top and bottom of the input area
EDT_CarName.BottomIndent = 5
EDT_CarName.TopIndent = 5
// 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,
  • Versions 27 and later
    Edit control.
    New in version 27
    Edit 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,
  • Versions 27 and later
    Edit control.
    New in version 27
    Edit 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