PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Font variable
  • Fonts used by the print functions
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The FontExtended property is used to manage the spacing of characters. You can:
  • Find out whether the spacing between characters in a text is increased.
  • Increase the spacing between characters in a text.
The following types of character spacing are supported in WLanguage:
  • Normal: the spacing between characters is normal.
  • Condensed: character spacing is reduced (FontCondensed property).
  • Extended: character spacing is increased (FontExtended property).
  • Large: character spacing is increased to the maximum (FontLarge property).
Example
// Increase spacing between characters in the text displayed in "STC_StaticControl"
STC_StaticControl.FontExtended = True
Syntax

Finding out whether the spacing between characters in the text displayed in a control is increased Hide the details

<Result> = <Control used>.FontExtended
<Result>: Boolean
  • True if the characters displayed in the text are expanded,
  • False otherwise.
<Control used>: Control name
Name of control (Static control or Calculated control) to use.

Increasing the spacing between characters in the text displayed in a control Hide the details

<Control used>.FontExtended = <Extended/Not Extended>
<Control used>: Control name
Name of control (Static control or Calculated control) to use.
<Extended/Not Extended>: Boolean
  • True if the characters displayed in the text must be expanded,
  • False otherwise.
Remarks

Font variable

If identical fonts (same size, same attribute, ...) must be applied to several controls, we recommend that you use a Font variable.
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 FontExtended property can only be used on:
  • a Static control.
  • a URL Link control.
  • a Calculated control.
  • a Preset control.
WINDEV In a window, the FontExtended property cannot be used on:
  • a Spin control,
  • a Web Camera control,
  • a Conference control.
Remark: This property applies to the "ListView" controls in "List Box" display mode only.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment