ComponentOne True DBInput Pro 8.0
Add Method (StyleSetsCollection)

Adds a date in the SelectionsCollection. The Selections collection is 1-based. A date can be added to the Selections collection by selecting dates in the calendar through keyboard/mouse, or by using the Add method at run time if the MultiSelect property is set to 1-Simple. Once a date is appended to the Selections collection, it appears as selected in the calendar control. The dates are added to the Selections collection and automatically sorted in ascending order.

Syntax

object.AddDate

Arguments

date is required: a date to select in the calendar.

Return Value

None

Remarks

Adding a date that already exists in the Selections collection will not cause an error to occur. However, adding a date not allowed to select specified with the SelectWhat property, will invoke a trappable error

See Also

Item Property (StyleSetsCollection)

SelectWhat Property (TDBCalendar)

Remove Method (StyleSetsCollection)

Clear Method (StyleSetsCollection)

 

 


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

Product Support Forum  |  Documentation Feedback