PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Limitations
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
The FontName property is used to:
  • Identify the font used in a control.
  • Change the font used in a control.
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
// Modify the font used in "EDT_CustomerName" control
EDT_CustomerName.FontName = "Arial"
Syntax

Identifying the font used in a control Hide the details

<Result> = <Control used>.FontName
<Result>: Character string
Name of the font used in the specified control.
<Control used>: Control name
Name of the control to be used.

Changing the font used in a control Hide the details

<Control used>.FontName = <New font>
<Control used>: Control name
Name of the control to be used.
<New font>: Character string
New font used in the specified control.
Remarks

Limitations

WINDEVUniversal Windows 10 App In a report, the FontName property can only be used on:
  • a URL Link control.
  • a Static control.
  • a Calculated control.
  • a Preset control.
WINDEV In a window, the FontName property cannot be used on:
  • a Spin control,
  • WINDEV a Web Camera control,
  • WINDEV a Conference control.
Remark: This property applies to the "ListView" controls in "List Box" display mode only.
Java The FontName property applies only to the following elements:
  • Button control.
  • Static control.
  • Combo Box control.
  • TreeView control.
  • Column of a Table control.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment