Skip to main content
A newer version of this page is available. .

TcxFormatController.GetFormats Method

Generates the date and currency formats based on the SysUtils unit’s variables and system locale settings.

Declaration

procedure GetFormats;

Remarks

This method reconstructs the date and currency formats identified by the RegExprDateEditMask, StandardDateEditMask, and CurrencyFormat properties based on variables in the SysUtils unit and the system locale. GetFormats also resets the StartOfWeek property value by reading the corresponding system setting.

When you programmatically change the currency and date format variables declared in the SysUtils unit, you need to call the GetFormats method followed by NotifyListeners.

See Also