RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.SysLocale Variable

SysLocale holds locale information.

Pascal
SysLocale: TSysLocale;
C++
TSysLocale SysLocale;

SysUtils

The SysLocale holds the attributes of the current locale. The locale determines how dates and times are formatted, how items are alphabetically sorted, and how strings are compared. 

The DefaultLCID field represents the locale identifier. This is a 32-bit value that specifies a default sort order and a default language identifier. 

The PirLangID field specifies the primary type of the language identifier. This is one of the constants that identify a language group, such as LANG_ENGLISH or LANG_FRENCH

The SubLangID field specifies the subtype of the language identifier. This is one of the constants that identify a language subgroup, such as SUBLANG_ENGLISH_US or SUBLANG_FRENCH_CANADIAN

FarEast is true or nonzero if User32.dll supports DBCS; false or zero otherwise. In other words, FarEast is true or nonzero if the double-byte character-set (DBCS) version of User.exe is installed; false or zero otherwise. 

MiddleEast is true if the system is enabled for Hebrew and Arabic languages; false otherwise. 

 

GetTSysLocale 

Languages

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!