ComponentOne True DBInput Pro 8.0
MonthCols Property (TDBCalendar)

The MonthCols and MonthRows properties are used to determine the number of calendar months to display in the control. By setting the MonthCols property, calendar months will be added horizontally to the control.

Syntax

TDBCalendar.MonthCols= integer

Read/Write at run time and design time.

Values

1 - 12 (1 is the default)

Remarks

The spacing between the months that are displayed horizontally can be set using the MarginWidth property.

The MonthCols property count times MonthRows property count cannot exceed twelve. In other words, the control can display only up to twelve months at once.

If the month columns and the month rows allow more months to be displayed in the control than the maximum and the minimum range specifed, the months out of the range will be drawn using the trailing day attributes.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback