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
  • Font variable
  • Fonts used by the print functions
  • Limits
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 FontCondensed property is used to manage character spacing. You can:
  • Determine if characters in a text are condensed.
  • Condense (or not) the characters.
WLanguage supports the following character spacing options:
  • Normal: character spacing is normal.
  • Condensed: character spacing is reduced (property CondensedFont).
  • Extended: character spacing is increased (property FontExtended).
  • Large: character spacing is increased to maximum (property FontLarge).
Ejemplo
// Condenser les caractères du texte affiché dans le champ "LIB_ChampLibellé"
LIB_ChampLibellé.PoliceCondensée = True
Sintaxis

Finding out whether the characters in the text displayed in a control are condensed Ocultar los detalles

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

Condensing the characters in the text displayed in a control Ocultar los detalles

<Control used>.FontCondensed = <Condensed/Not condensed>
<Control used>: Control name
Name of field (Static Text control or Calculated control) to be manipulated.
<Condensed/Not condensed>: Boolean
  • True if the characters displayed in the text must be condensed,
  • False otherwise.
Observaciones

Font variable

If identical fonts (same size, attributes, etc.) must be applied to multiple controls, it is recommended to use a font created programmatically.
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:

Limits

In a report, the FontCondensed property can only be used on:
  • a Static Text control.
  • a URL Link control.
  • a calculated control.
  • a preset control.
WINDEV In a window, the FontCondensed 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.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

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