ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Changing the character set
  • Limitations
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 FontCharset property is used to:
  • Find out the character set used by the screen fonts of a control.
  • Modify the character set used by the screen fonts of a control.
Example
// Modify the character set used by the controlEDT_MyControl.FontCharset = charsetArabic
Syntax

Finding out the character set currently used in a control Hide the details

<Result> = <Control used>.FontCharset
<Result>: Integer constant
Type of character set used by the specified control:
charsetAnsiRoman characters in ANSI standard
charsetArabicArabic characters
charsetBalticBaltic characters
charsetChineseChinese characters (People's Republic of China)
charsetTraditionalChineseTraditional Chinese characters (Republic of Taiwan)
charsetKoreanKorean characters
charsetCurrentUses the current character set specified with ChangeCharset
charsetDefaultDefault character set of the current computer. No character set is forced.
charsetEastEuropeEastern European character sets (Polish, etc.)
charsetGreekGreek characters
charsetHebrewHebrew characters
charsetJapaneseJapanese characters
charsetMacMac Roman character set (used in previous versions of Macintosh).
charsetOccidentalRoman characters in ANSI standard
charsetRussianRussian characters
charsetThaiThai characters
charsetTurkishTurkish characters
charsetVietnameseVietnamese characters
<Control used>: Control name
Name of the control to be used.

Modifying the character set used in a control Hide the details

<Control used>.FontCharset = <New charset>
<Control used>: Control name
Name of the control to be used.
<New charset>: Integer constant
Type of character set that will be used in the specified control:
charsetAnsiRoman characters in ANSI standard
charsetArabicArabic characters
charsetBalticBaltic characters
charsetChineseChinese characters (People's Republic of China)
charsetTraditionalChineseTraditional Chinese characters (Republic of Taiwan)
charsetKoreanKorean characters
charsetCurrentUses the current character set specified with ChangeCharset
charsetDefaultDefault character set of the current computer. No character set is forced.
charsetEastEuropeEastern European character sets (Polish, etc.)
charsetGreekGreek characters
charsetHebrewHebrew characters
charsetJapaneseJapanese characters
charsetMacMac Roman character set (used in previous versions of Macintosh).
charsetOccidentalRoman characters in ANSI standard
charsetRussianRussian characters
charsetThaiThai characters
charsetTurkishTurkish characters
charsetVietnameseVietnamese characters
Remarks

Changing the character set

When changing the character set, the fonts that use the requested character set must be installed on the current computer.
Remark: To change the character set for all fonts in a single operation, use ChangeCharset.

Limitations

WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppiPhone/iPad For a report, the FontCharset property does not apply to:
  • Reports or blocks
  • Image controls
  • Bar Code controls
  • RTF controls
  • Chart controls
  • Shape controls
  • Internal Report controls
  • Check Box controls
WINDEV For a window, the FontCharset property does not apply to:
  • Progress Bar controls,
  • Spin controls,
  • Scrollbar controls,
  • Toolbars,
  • Splitter controls,
  • Columns of a Table control,
  • Web Camera controls,
  • Conference controls,
  • Word Processing controls.
iPhone/iPad The FontCharset property is not available on Table controls or table columns.
Android The FontCharset property is not available on table columns.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/12/2024

Send a report | Local help