AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
  • Limitations
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The FontName property is used to:
  • Identify the font used in a control.
  • Change the font used in a control.
Ejemplo
// Modify the font used in "EDT_CustomerName" control
EDT_CustomerName.FontName = "Arial"
Sintaxis

Knowing the font used in a field Ocultar los detalles

<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 Ocultar los detalles

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

Limitations

WINDEVWEBDEV - Código ServidorWINDEV MobileReportes y ConsultasiPhone/iPad In a report, the FontName property can only be used on:
  • a URL Link control.
  • a Static control.
  • a Calculated control.
  • a Preset control.
WINDEVWINDEV Mobile In a window, the FontName property cannot be used on:
  • a Spin control,
  • WINDEV a Web Camera control,
  • WINDEV a Conference control.
Note: This property only applies to ListView controls in standard "List Box" display mode.
WEBDEV - Código Servidor In a page, the FontName property 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 a 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.
Java The FontName property can only be used with the following elements:
  • Button control.
  • Static Text control.
  • Combo Box control.
  • TreeView control.
  • Column of a Table control.
PHP PHP: Font files
In PHP, the files of corresponding fonts must be accessible (ttf files).
These files must be present in the site directory (directory _WEB known with the fWebDir function) and named as follows:
  • <Name of standard font>
  • <Name of standard font>_Bold
  • <Name of standard font>_Italic
  • <Name of standard font>_Italic_Bold
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
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 07 2017

Última modificación: 10/05/2025

Señalar un error o enviar una sugerencia | Ayuda local