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
Underline (Property)
In french: Souligné
The Underline property is used to:
  • Find out whether a Font variable is underlined.
  • Underline (or not) a Font variable.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 22 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Define the characteristics of a Font variable
Font1 is Font
Font1.Name = "Arial"
Font1.Size = 14
Font1.Underline = True
// Apply the font to "MyControl"
MyControl.Font = Font1
Syntax

Finding out whether a Font variable is underlined Hide the details

<Result> = <Font used>.Underline
<Result>: Boolean
  • True if the specified font is underlined,
  • False otherwise.
<Font used>: Font variable
Name of the variable of type Font to be used.

Underlining (or not) a Font variable Hide the details

<Font used>.Underline = <Underlined/Not underlined>
<Font used>: Font variable
Name of the variable of type Font to be used.
<Underlined/Not underlined>: Boolean
  • True if the specified font must be underlined,
  • False otherwise.
Remarks
A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment