Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxFormatController.GetFormats Method

In This Article

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

#Declaration

Delphi
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