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.
Versions 15 and later
WINDEVJava This property is now available for Java applications.
Android This property is now available for Android applications.
New in version 15
WINDEVJava This property is now available for Java applications.
Android This property is now available for Android applications.
WINDEVJava This property is now available for Java applications.
Android This property is now available for Android applications.
Versions 18 and later
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
Versions 20 and later
Android This property is now available for Table controls in Android applications.
New in version 20
Android This property is now available for Table controls in Android applications.
Android This property is now available for Table controls in Android applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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

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.
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