PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Limits
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
FontBold is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
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 18 and later
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
Versions 20 and later
WINDEV MobileAndroidiPhone/iPad This property is now available for table columns in Android and iPhone/iPad applications.
New in version 20
WINDEV MobileAndroidiPhone/iPad This property is now available for table columns in Android and iPhone/iPad applications.
WINDEV MobileAndroidiPhone/iPad This property is now available for table columns in Android and iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available for report controls in applications in Universal Windows 10 App mode.This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available for report controls in applications in Universal Windows 10 App mode.This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available for report controls in applications in Universal Windows 10 App mode.This property is now available in Universal Windows 10 App mode.
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

Limits

In a report, the FontBold property can only be used on:
  • a Static 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.
Remark: This property applies to the "ListView" controls in "List Box" display mode only.
WEBDEV - Server code In a page, the FontBold property 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, the FontBold property 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.
Java In Java, the FontBold property applies only to the following elements:
  • Button control.
  • Static 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