ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Graphic string functions
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
Builds a sequence of characters describing the font that will be used for the text.
Universal Windows 10 AppAndroidiPhone/iPadIOS WidgetMac Catalyst In a window, this string defines the text font:
  • in an element of a List Box or Combo Box control.
  • in the title bar and/or status bar of a window.
  • in a Static control.
    Remark: It may be necessary to adjust the text after the content is defined.
Example
Syntax
<Result> = gFont(<Font name> [, <Charset used>])
<Result>: Character string
Sequence of characters describing the font that will be used for the text.
Universal Windows 10 AppAndroidiPhone/iPadIOS WidgetMac Catalyst This sequence of characters can be:
<Font name>: Character string
Exact name of the font. If this parameter corresponds to an empty string (""), gFont has no effect.
<Charset used>: Optional Integer constant
Constant corresponding to the character set to use. The default character set will be used if this parameter is not specified.
charsetAnsiRoman characters in ANSI standard
charsetArabicArabic characters
charsetBalticBaltic characters
charsetChineseChinese characters (People's Republic of China)
charsetDefaultUses the computer's default character set. No character set is forced.
charsetEastEuropeEastern European characters (Polish, etc.)
charsetGreekGreek characters
charsetHebrewHebrew characters
charsetJapaneseJapanese characters
charsetKoreanKorean characters
charsetMacMac Roman character set (used in previous versions of Macintosh).
charsetOccidentalRoman characters in ANSI standard
charsetRussianRussian characters
charsetThaiThai characters
charsetTraditionalChineseTraditional Chinese characters (Republic of Taiwan)
charsetTurkishTurkish characters
charsetVietnameseVietnamese characters

Android This parameter is ignored.
Remarks
  • The default font is restored after the call to this function.
  • All the other characteristics of the font are kept (bold, ...).
Component: wd290mdl.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/11/2023

Send a report | Local help