ComponentOne True DBInput Pro 8.0
Type Property (Day)

The Type property is used to determine whether the specified date should be a holiday, force holiday or a forced workday.

Syntax

object.Type= value

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

Values

Description

Run Time

0 - Holiday (Default)

dbiTypeHoliday

1 - Force Holiday

dbiTypeForcedHoliday

2 - Force Workday

dbiTypeForcedWorkday

Remarks

The following describe the settings in more detail:

0 – Holiday

When set to this type, the specified date will be a holiday every year. In other words, the year would not mean too much. National holidays and birthdays are usually set to this type.

1 – Force Holiday

When set to this type, the specified date will be a holiday just for the specified year. Company holiday, vacations, and so on will usually use this setting, since the days may change every year.

2 – Force Workday

Force Workday - When set to this type, the specified date will be a workday just for the specified year. There may be times when a forced workday is needed.

When set a holiday as a force workday, the specified day will be treated as a regular day displayed using the StyleSet object's ForeColor, BackColor settings. Also the override settings and the weekday setup will be ignored if happens to overlapped with weekdays. When determining the type of days that can be selected with the SelectWhat property, these force workdays will be handled as workdays.

 

 


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

Product Support Forum  |  Documentation Feedback