Reference > TDBCalendar Control > TDBCalendar Control Properties > EmptyRows Property (TDBCalendar) |
The EmptyRows property is used to determine how to display the calendar in the control when two empty rows appear.
TDBCalendar.EmptyRows= value
Read/Write at run time and design time.
Design Time |
Run Time |
0 - Start With Empty (Default) |
dbiStartEmpty |
1 - All At End |
dbiAllEnd |
For example, February/1998 has 28 days, and the first day begins on a Sunday, which means that there will be 2 empty week rows. In order to visually balance the calendar display, this property was provided. When the EmptyRows property is set to 0- Start with empty row, an empty week row will first be displayed, and then the month days will be displayed for the month February/1998.