Reference > TDBCalendar Control > TDBCalendar Control Properties > LineColors Property (TDBCalendar) |
The LineColors() property is a property array that defines the colors to use for different lines drawn in the calendar.
TDBCalendar.LineColors(Index)= color
Read/Write at run time and design time.
This property is also used together with the LineStyles property, which determines the line style (single, dotted, and so on) to use. The following list shows which element in the LineColors array property is associated with the line drawn in the calendar. See the line colors and descriptions:
0 |
Outline Left |
1 |
Outline Top |
2 |
Outline Right |
3 |
Outine Bottom |
4 |
Horizontal separator |
5 |
Vertical separator |
6 |
Weekday separator |
For all elements, the default is the system Button Shadow color (&H80000010).
This property will take effect only when the StyleSet object's Bevel property is set to 0 (zero), and the BorderStyle property is set to 0- None.
When the LineStyles() property is set to either 5- Inset or 6- Raised, the color specified in this property will be used as the shade color.