ComponentOne True DBInput Pro 8.0
BackColor Property (HolidayStyle)

 

Reference> HolidayStyle Object> HolidayStyle Object Properties> BackColor Property (HolidayStyle)

BackColor Property (HolidayStyle)

The BackColor property controls the background color of an object or attribute style. Colors may be specified as RGB values or system default colors.

Syntax

object.BackColor= color

Read/Write at run time. Not available at design time.

Values

StyleSet.BackColor is the default

Remarks

Attribute styles are usually used for selecting dates, displaying trailing dates and weekday titles.

When the StyleSet object's Bevel property is set to something other than 0, this means that a 3D effect is trying to take place. In this case, the 3D effect will appear much clearer when using a color other than white.

When the TDBCalendar control's Appearance property is set to either 0 - Flat or 1 - 3D the color in the BackColor property is used, otherwise the settings in the CtrlStyleSet property will take effect.

The BackColor property of the TDBCalendar control, and the Caption objects are available at design time.

The value of the BackColor property is inherited from the parent style or object (if any) unless explicitly overridden.

The BackColor may be overridden in the following cases:

·      Selected dates in the calendar. (SelAttribute)

·      Displaying trailing dates in the calendar months. (TrailAttribute)

·      Reflecting the weekend color to the weekday title. (WeekDays().Attribute)

For the trailing dates and weekday titles, the BackColor property should use the same settings as that of the BackColor property in the StyleSet object.

The BackColor property of the HolidayStyle object will only be used when attached to the Calendar control.

See Also

CtrlStyleSet Property (TDBCalendar)

ForeColor Property (HolidayStyle)

 

 


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

Product Support Forum  |  Documentation Feedback