System.SysUtils.GetLocaleFormatSettings
Delphi
procedure GetLocaleFormatSettings(Locale: TLocaleID; var AFormatSettings: TFormatSettings);
C++
extern DELPHI_PACKAGE void __fastcall GetLocaleFormatSettings _DEPRECATED_ATTRIBUTE1("Use TFormatSettings.Create(Locale)") (unsigned Locale, TFormatSettings &AFormatSettings);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Warning: GetLocaleFormatSettings is deprecated. Please use TFormatSettings.Create.
Initializes a TFormatSettings record (deprecated, use TFormatSettings.Create).
GetLocaleFormatSettings populates AFormatSettings
based on the Windows locale ID specified in LCID. A TFormatSettings data structure must be initialized by a call to GetLocaleFormatSettings before it can be used with any string formatting routines.
Note: The GetLocaleFormatSettings routine is deprecated. Use TFormatSettings.Create instead.