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

WEBDEV - Server code In a report, ..FontName can only be used on:
  • a URL Link control.
  • a Static control.
  • a Calculated control.
  • a Preset control.
WEBDEV - Server code In a page, ..FontName 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 column in Table control,
  • a cell of a Table control (read only),
  • a formatted display control,
  • an HTML control,
  • a Combo Box control,
  • a Link control,
  • an HTML Static control,
  • a Pager control,
  • a Breadcrumb control (except in PHP),
  • a TreeView control,
  • a menu.
PHP PHP: Files of fonts
In PHP, the files of corresponding fonts must be accessible (ttf files).
These files must be found in the site directory ( _WEB directory returned by fWebDir) and they must be named as follows:
  • <Name of standard font>
  • <Name of standard font>_Bold
  • <Name of standard font>_Italic
  • <Name of standard font>_Italic_Bold
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