PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • 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 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
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 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
iPhone/iPad This property is now available for the report controls in the iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for the report controls in the iPhone/iPad applications.
iPhone/iPad This property is now available for the report controls in the iPhone/iPad applications.
Versions 20 and later
WINDEV MobileAndroidiPhone/iPad This property is now available for the table columns in the Android applications and in the iPhone/iPad applications.
New in version 20
WINDEV MobileAndroidiPhone/iPad This property is now available for the table columns in the Android applications and in the iPhone/iPad applications.
WINDEV MobileAndroidiPhone/iPad This property is now available for the table columns in the Android applications and in the iPhone/iPad 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

WINDEVWEBDEV - Server codeWINDEV MobileReports and QueriesiPhone/iPadWindows MobileUniversal 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.
WINDEVWINDEV Mobile 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.
WEBDEV - Server code In a page, ..FontName can be used on:
  • a Static control,
  • an edit control,
  • a button,
  • a check box,
  • a radio button,
  • a list box,
  • a table column,
  • a table cell (in read-only)
  • a formatted display control,
  • an HTML control,
  • a combo box,
  • a link,
  • an HTML static,
  • a Pager control,
  • a site map path (except in PHP),
  • a TreeView control,
  • a menu.
Java ..FontName only applies to the following elements:
  • Button control.
  • Static control.
  • Combo Box control.
  • TreeView control.
  • Table column.
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 required version
  • 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
Jul. 25 2017