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 RetraitHaut allows you to know and modify the space left at the top of the text (high margin) in an Static control.
Remark: This property is equivalent to the definition of the top margin in the "Style" tab of the Static control ("Outside border" element, "Margins" button, "Top margin" option).
Example
// Define a margin equal to 4 pixels at the top and bottom of Static control
LIB_HEX@ Low Withdrawal = 4
LIB_HEX@ WithdrawalTop = 4
Syntax

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

<Result> = <Static control>.TopIndent
<Result>: Integer
Number of pixels used for the margin at the top 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 top of the text in a Static control Hide the details

<Static control>.TopIndent = <New value>
<Static control>: Control name
Name of Static control to use.
<New value>: Integer
New value for the margin at the top 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