Using the WinRT Globalization API
With RAD Studio 10 Seattle, developers can rapidly update their VCL and FMX applications to take full advantage of the Windows 10 wave. Support includes Windows 10 and native WinRT/UWP components and APIs, Windows 10 VCL User Experience controls, and updated Windows 10 FMX support.
We have a great demo that shows you how to use the ICalendar interface to show the current date of the system in the different calendar systems, as well as specific information from the four calendar systems.
The sample displays the calendar information in a TMemo. TCalendarIdentifiers is used to set the different calendar systems:
The main units used in this sample are:
You can download the demo here: http://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RADStudio_Seattle/Object%20Pascal/VCL/Windows%2010%20Calendar
You can access the API information here:
Please login first in order for you to submit comments