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
Bold (Property)
In french: Gras
..Bold is used to:
  • Find out whether a Font variable is written in bold.
  • Modify the bold attribute of a Font variable.
Example
// Define the characteristics of a Font variable
Font1 is Font
Font1..Name = "Arial"
Font1..Size = 14
Font1..Bold = True
// Apply the font to "MyControl"
MyControl..Font = Font1
Syntax

Finding out whether a Font variable is written in bold Hide the details

<Result> = <Font>..Bold
<Result>: Boolean
  • True if the specified font is written in bold,
  • False otherwise.
<Font>: Font variable
Name of the Font variable to use.

Modifying the bold attribute of a Font variable Hide the details

<Font>..Bold = <Bold/Not bold>
<Font>: Font variable
Name of Font variable to use.
<Bold/Not bold>: Boolean
  • True if the specified font must displayed in bold,
  • 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