ComponentOne True DBInput Pro 8.0
LineStyles Property (TDBCalendar)

The LineStyles() property is a property array that defines the line style to use for different lines drawn in the calendar.

Syntax

TDBCalendar.LineStyles(Index)= value

Read/Write at run time and design time.

Values

Design Time

Run Time

0 - None

DbiLineStylesNone

1 - Dotted

DbiLineStylesDotted

2 - Single

DbiLineStylesSingle

3 - Double

dbiLineStylesDouble

4 - Thick

DbiLineStylesThick

5 - Inset

DbiLineStylesInset

6 - Raised

dbiLineStylesRaised

Remarks

This property is also used together with the LineColors() property, which determines the color to use for drawing the line. The following list shows which element in the LineStyles() array property is associated with the line drawn in the calendar.

0

Outline Left (Default is None)

1

Outline Top (Default is None)

2

Outline Right (Default is None)

3

Outine Bottom (Default is None)

4

Horizontal separator (Default is None)

5

Vertical separator (Default is None)

6

Weekday separator (Default is Single)

Since the borders and separators can have their own line style, all kinds of patterns can be made.

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".

 

 


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

Product Support Forum  |  Documentation Feedback