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
..BottomIndent is used to find out and modify the space left at the bottom of the text (bottom margin) in a Static control.
Note: This proprerty is equivalent to the definition of the bottom margin in the "Style" tab of the Static control ("Outside border" element, "Margins" button, "Bottom margin" option).
Example
// Define a margin equal to 4 pixels at the top and bottom of Static control
STC_Date..BottomIndent = 4
STC_Date..TopIndent = 4
Syntax

Finding out the value of the margin found at the bottom of the text in a Static control Hide the details

<Result> = <Static control>..BottomIndent
<Result>: Integer
Number of pixels used for the margin at the bottom of the text. The indent is set to 0 pixel by default (no indent).
<Static control>: Control name
Name of Static control to use.

Modifying the value of the margin found at the bottom of the text in a Static control Hide the details

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