ComponentOne True DBInput Pro 8.0
MultiSelect Property (TDBCalendar)

When the MultiSelect property is set to 1-Simple, multiple dates in the calendar can be selected or deselected. A date can be selected by either using the mouse, or by pressing the [space]/[enter] key. Note that these keys will be overridden if assigned to the Key object properties.

Syntax

TDBCalendar.MultiSelect= value

Read/Write at run time and design time.

Values

Design Time

Run Time

0 - None (Default)

dbiMultiSelectNone

1 - Simple

dbiMultiSelectSimple

Remarks

In multiple selection mode, all the selected dates will be added to the Selections collection property. This collection object property can be used later to navigate through the dates for appropriate purposes. Dates can be added to the Selections collection object, where they will be reflected to the controls as selected dates.

When multiple date settings are being applied to the control, it is recommended to set the Redraw property to False, to avoid the control from flickering.

The SelectWhat property determines which kind of dates can be selected in the calendar control. For dates that cannot be selected, the focus rectangle will move to specified date, but the selection will be ignored.

Databinding is not supported in multiple selection mode. You must set the MultiSelect to 0-None in order for the bound datasource to work properly.

 

 


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

Product Support Forum  |  Documentation Feedback