PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Changing the character set
  • 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 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 control
EDT_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 defined for the current computer. No character set is forced.
charsetEastEuropeCharacters of Eastern Europe (Polish...)
charsetGreekGreek characters
charsetHebrewHebrew characters
charsetJapaneseJapanese characters
Versions 20 and later
charsetMac
New in version 20
charsetMac
charsetMac
Mac 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 defined for the current computer. No character set is forced.
charsetEastEuropeCharacters of Eastern Europe (Polish...)
charsetGreekGreek characters
charsetHebrewHebrew characters
charsetJapaneseJapanese characters
Versions 20 and later
charsetMac
New in version 20
charsetMac
charsetMac
Mac 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 the fonts in a single operation, use ChangeCharset.

Limits

Reports and Queries 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
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment