ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Font variable
  • Fonts used by the print functions
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The FontLarge property sets the spacing between characters. You can:
  • Determine if the text is expanded.
  • Expand the text.
WLanguage supports the following character spacing options:
  • Normal: character spacing is normal.
  • Condensed: character spacing is reduced (property FontCondensed).
  • Extended: character spacing is increased (property FontExtended).
  • Large: the spacing between characters is increased to the maximum (PoliceLargeproperty).
Example
// Élargir les caractères du texte affiché dans le champ "LIB_ChampLibellé"
LIB_ChampLibellé.PoliceLarge = True
Syntax

Determining if the text displayed in a control is expanded Hide the details

<Result> = <Control used>.FontLarge
<Result>: Boolean
  • True if the characters in a text are enlarged,
  • False otherwise.
<Control used>: Control name
Name of field (Static Text control or Calculated control) to be manipulated.

Expanding the text displayed in a control Hide the details

<Control used>.FontLarge = <Enlarged/Not Enlarged>
<Control used>: Control name
Name of field (Static Text control or Calculated control) to be manipulated.
<Enlarged/Not Enlarged>: Boolean
  • True if the text must be expanded,
  • False otherwise.
Remarks

Font variable

If identical fonts (same size, same attribute, etc.) are to be applied to several fields, it is advisable to use a variable of type Font.
A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:

Fonts used by the print functions

To create a font that can be used by the print functions (iPrintBlock, iPrintWord, etc.), use:

Limitations

In a report, the FontLarge property can only be used on:
  • a Static Text control.
  • a URL Link control.
  • a Calculated control.
  • a preset control.
In a window, the FontLarge property cannot be used on:
  • a Spin control,
  • a Web Camera control,
  • a Conference control.
Note: This property only applies to ListView controls in standard "List Box" display mode.
Android The FontLarge property is not available on table columns.
Minimum version required
  • Version 9
This page is also available for…
Comments
Video FontLarge
https://youtu.be/l49ctI-tSl0

https://windevdesenvolvimento.blogspot.com/2019/04/dicas-2086-windev-tabela-100-fontlarge.html

// BTN_FontLarge_BrushColor_dESTACAR_cOLUNA

TABLE_WIN_TABELA_EXEMPLO.COL_Preco_venda..FontLarge=True
TABLE_WIN_TABELA_EXEMPLO.COL_Nome[2]..BrushColor=DarkGreen
amarildo
26 Apr. 2019

Last update: 10/02/2024

Send a report | Local help