PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Changing the character set
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..FontCharset 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 Name>..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 by 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
Characters to the Mac Roman standard (used on the old Macintosh versions).
charsetOccidentalRoman characters in ANSI standard
charsetRussianRussian characters
charsetThaiThai characters
charsetTurkishTurkish characters
charsetVietnameseVietnamese characters
<Control Name>: Character string (with or without quotes)
Name of control to use.

Modifying the character set used in a control Hide the details

<Control Name>..FontCharset = <New Charset>
<Control Name>: Character string (with or without quotes)
Name of control to use.
<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 by 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
Characters to the Mac Roman standard (used on the old Macintosh versions).
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.
Note: To change the character set for all the fonts in a single operation, use ChangeCharset.

Limits

Reports and Queries In a report, ..FontCharset does not apply to the:
  • 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