PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..TopIndent is used to find out and modify the space left at the top of the text (top margin) in a Static control.
Note: This proprerty 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
STC_Date..BottomIndent = 4
STC_Date..TopIndent = 4
Syntax

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

<Result> = <Control Name>..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).
<Control Name>: Character string (with or without quotes)
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

<Control Name>..TopIndent = <New value>
<Control Name>: Character string (with or without quotes)
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 required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment