ComponentOne True DBInput Pro 8.0
CtrlStyleSet Property (TDBCalendar)

Syntax

control.CtrlStyleSet= variant

Values

Integer, String, Object (StyleSet)

Read/Write at run time and design time.

Remarks

The CtrlStyleSet property is used only when the Appearance property is set to 2- Custom. The built-in CtrlStyle styleset will be set by default. To setup a style set, use the Add method in the StyleSets collection object. Also, the Item() property in the same object can be used to set the other detail settings.

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

Calendar.CtrlStyleSet = 1 ' Item 1 in StyleSets collection

Calendar.CtrlStyleSet = "ctrlframe"

Set Calendar.CtrlStyleSet = Calendar.StyleSets("ctrlframe")

When nothing is set in the CtrlStyleSet 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