Reference > TDBCalendar Control > TDBCalendar Control Properties > FirstMonth Property (TDBCalendar) |
The FirstMonth property determines the base month for the fiscal year, and is used only when the YearType property is set to 1- Fiscal Year.
object.FirstMonth= value
Read/Write at run time and design time.
Design Time |
Run Time |
1 - January |
dbiJanuary |
2 - February |
dbiFebruary |
3 - March |
dbiMarch |
4 - April (Default) |
dbiApril |
5 - May |
dbiMay |
6 - June |
dbiJune |
7 - July |
dbiJuly |
8 - August |
dbiAugust |
9 - September |
dbiSeptember |
10 - October |
dbiOctober |
11 - November |
dbiNovember |
12 - December |
dbiDecember |
When the FirstMonth property is set to 1 and YearType property is set to 1- Fiscal Year, the calendar will behave the same as when the YearType property is set to 0 - Normal Display.
When the YearType property is set to 1-Fiscal Year, year 99 will be displayed on the title bar for the previous fiscal year when scrolling beyond year 100. Also M. 00 will be displayed when setting the FirstMonth property to 10 - October, 11 - November, or 12 - December, with the TitleFormat set to an Era format.
This property is not available at design time for the TDBDateX object.
This property is left in the TDBDate control just for backward compatibility, and will not be supported in the future versions. Therefore, we recommend you use the TDBDateX object included in the package instead, which provides the equivalent feature.