ComponentOne True DBInput Pro 8.0
SelAttribute Property (TDBCalendar)

The SelAttribute property is used to determine the attribute settings to use when a date is selected in the calendar. The built-in SelAttrib attribute style will be set by default. To set up a style set, use the Add method in the AttribStyles collection object. Also, the Item() property in the same object can be used to make the other detail settings.

Syntax

TDBCalendar.SelAttribute= variant

Read/Write at run time and design time.

Values

Integer, String, Object (AttribStyle)

Remarks

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

Calendar.SelAttribute = 1 ' Item 1 in AttribStyles collection

Calendar.SelAttribute = "SelAttrib"

Set Calendar.SelAttribute = _

    Calendar.AttribStyles("SelAttrib")

When the month/day area uses a 3D effect, the background color specified in the attribute setting will also appear as 3D.

When nothing is set in the SelAttribute property (set to Null), a default attribute style registered in the control (AttribStyles collection) will be used instead.

 

 


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

Product Support Forum  |  Documentation Feedback