ComponentOne True DBInput Pro 8.0
TitleStyleSet Property (TDBCalendar)

The TitleStyleSet property is used to determine the drawing style set to use for the title bar holding the month names. The built-in "TitleStyle" styleset will be set by default. To setup a style set, the Add method in the StyleSetsCollection object can be used. And also, the Item property in the same object can be used to make the other detail settings.

Syntax

TDBCalendar.TitleStyleSet= variant

Read/Write at run time and design time.

Values

Integer, String, Object (StyleSet)

Remarks

The TitleStyleSet property is defined as a variant type, so the property can be used in the following three ways.

Calendar.TitleStyleSet = 1 ' Item 1 in StyleSets collection

Calendar.TitleStyleSet = "titleframe"

Set Calendar.TitleStyleSet = _

    Calendar.StyleSets("titleframe")

When nothing is set in the TitleStyleSet property (set to Null), a default styleset registered in the control (StyleSets collection) will be used instead. The font settings will be referenced from the Font object of the control.

 

 


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

Product Support Forum  |  Documentation Feedback