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 16 and later
Universal Windows 10 App This property is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This property is now available for the Windows Phone applications.
Universal Windows 10 App This property is now available for the Windows Phone applications.
Versions 21 and later
Universal Windows 10 App This property is now available for the report controls in the 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 the report controls in the 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 the report controls in the 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 name>..FontName
<Result>: Character string
Name of the font used in the specified control.
<Control name>: Character string (with or without quotes)
Name of control to use.

Modifying the font used in a control Hide the details

<Control name>..FontName = <New Font>
<Control name>: Character string (with or without quotes)
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.
  • an Item control.
WINDEV In a window, ..FontName cannot be used on:
  • a Spin control,
  • WINDEV a Web Camera control,
  • WINDEV a Conference control.
Note: This property applies to the "ListView" controls in "List Box" display mode only.
Java ..FontName only applies 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
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