PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Limits
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
..FontBold is used to:
  • Find out whether a text is bold or not.
  • Modify the weight of a text.
Example
// Write the text displayed in "STC_StaticControl" in bold
STC_StaticControl..FontBold = True
Syntax

Finding out whether the text displayed in a control is bold Hide the details

<Result> = <Control Name>..FontBold
<Result>: Boolean
  • True if the text is bold,
  • False otherwise.
<Control Name>: Character string (with or without quotes)
Name of control to use.

Modifying the bold attribute for the text displayed in a control Hide the details

<Control Name>..FontBold = <Bold/Not Bold>
<Control Name>: Character string (with or without quotes)
Name of control to use.
<Bold/Not Bold>: Boolean
  • True if the text must be displayed in bold,
  • False otherwise.
Remarks

Limits

WEBDEV - Server code In a report, ..FontBold can only be used on:
  • a Static control.
  • a URL Link control.
  • a Calculated control.
  • a Preset control.
  • an Item control.
WEBDEV - Server code In a page, ..FontBold can be used on:
  • a Static control,
  • an edit control,
  • a Button control,
  • a Check Box control,
  • a Radio Button control,
  • a List Box control,
  • a table column,
  • a table cell (in read-only)
  • a formatted display control,
  • an HTML control,
  • a Combo Box control,
  • a Link control,
  • an HTML Static control,
  • a Pager control,
  • a Site Map Path control,
  • a TreeView control,
  • a menu.
PHP In a PHP page, ..FontBold can be used on:
  • a Static control,
  • an edit control,
  • a Button control,
  • a Check Box control,
  • a Radio Button control,
  • a List Box control,
  • a table column,
  • a formatted display control,
  • an HTML control,
  • a Combo Box control,
  • a Link control,
  • an HTML Static control,
  • a Pager control,
  • a TreeView control,
  • a menu.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment