PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property RetraitBas makes it possible to know and modify the space left at the bottom of the text (low margin) in an Static control.
Remark: 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