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.
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

Reports and Queries In a report, the FontName property can only be used on:
  • a URL Link control.
  • a Static control.
  • a Calculated control.
  • a Preset control.
Minimum version required
  • Version 9
This page is also available for…
Comments
exemplo fontName
EDT_OBSERVACAO..FontName = "Arial"
STC_NoName1..FontName = "Arial"

// BLOG COM VIDEO E EXEMPLO

http://windevdesenvolvimento.blogspot.com.br/2017/07/aula-1221-windev-dicas-035-edt-stc.html

https://www.youtube.com/watch?v=uZcjxlCQP-w

De matos
25 Jul. 2017