ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The FontBold property is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
Example
// Write the text displayed in "STC_StaticControl" in bold
STC_StaticControl.FontBold = True
Syntax

Determining if the text displayed in a control is bold Hide the details

<Result> = <Control used>.FontBold
<Result>: Boolean
  • True if the text is bold,
  • False otherwise.
<Control used>: Control name
Name of the control to be used.

Applying or removing bold formatting from the text displayed in a control Hide the details

<Control used>.FontBold = <Bold/Not bold>
<Control used>: Control name
Name of the control to be used.
<Bold/Not bold>: Boolean
  • True if the text must be displayed in bold,
  • False otherwise.
Remarks

Limitations

In a report, the FontBold property can only be used on:
  • a Static Text control.
  • a URL Link control.
  • a Calculated control.
  • a Preset control.
WINDEV In a window, the FontBold property cannot be used on:
  • a Spin control,
  • a Web Camera control,
  • a Conference control.
Note: This property only applies to ListView controls in standard "List Box" display mode.
WEBDEV - Server code In a page, the FontBold property can be used on:
  • a Static Text 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 (read-only),
  • a formatted display control,
  • an HTML control,
  • a Combo Box control,
  • a Link control,
  • an HTML Static control,
  • a Pager control,
  • a Breadcrumb control,
  • a TreeView control,
  • a menu.
PHP In a PHP page, the FontBold property can be used on:
  • a Static Text 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.
Java In Java, the FontBold property applies only to the following elements:
  • Button control.
  • Static Text control.
  • Combo Box control.
  • TreeView control.
  • Table column.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/02/2024

Send a report | Local help