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
..FontName is used to:
  • Find out the font used in a control.
  • Modify 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

Finding out 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 control to use.

Modifying the font used in a control Hide the details

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

Limits

WINDEVUniversal Windows 10 App In a report, ..FontName can only be used on:
  • a URL Link control.
  • a Static control.
  • a Calculated control.
  • a Preset control.
WINDEV In a window, ..FontName 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 "Standard" display mode only.
Java ..FontName only applies to the following elements:
  • Button control.
  • Static control.
  • Combo Box control.
  • TreeView control.
  • Column of Table 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