ComponentOne True DBInput Pro 8.0
TDBDate Calendar Object Properties

The Calendar object provides a drop down calendar for easy entry of dates at run time, which is especially useful if the user is trying to enter a time marker as opposed to a date. To display the drop down calendar, you must enable the DropDown object. This object is an embedded version of the Calendar control provided in the product. If users require further detail customization, please create a user calendar with the Calendar control.

The properties of the Calendar object can be set with the Calendar Property Page (TDBDate) at design time, and can be set with Visual Basic code at run time.

The following key and mouse interfaces are provided for the drop-down calendar for navigation and selection:

Keys

Description

[Up]

Move to the previous week.

[Down]

Move to the next week.

[Left]

Move to the previous day.

[Right]

Move to the next day.

[Home]

Move to the first day in the week.

[End]

Move to the last day in the week.

[Ctrl]+[Home]

Move to the first day of the displayed month.

[Ctrl]+[End]

Move to the last day of the displayed month.

[Page Up]

Move to the previous month.

[Page Down]

Move to the next month.

[Ctrl]+[Page Up]

Move to the previous year.

[Ctrl]+[Page Down]

Move to the next year.

[Enter]

Select a day and close the drop-down calendar, applying its value to the editing area.

[Space]

Select a day.

[Escape]

Close the drop-down calendar without applying its value.

Mouse

Description

[Click] a date

Select a day and close the drop-down calendar, applying its value to the editing area.

[Click] title caption

Select any month from the popup list box.

[Click] title bar left arrow

Move to the previous month.

[Click] title bar right arrow

Move to the next month.

[Ctrl]+[Click] title bar left arrow

Move to the previous year.

[Ctrl]+[Click] title bar right arrow

Move to the next year.

[Click] anywhere else

Close the drop-down calendar without applying its value.

All of the properties for the Calendar object are listed in the following reference section:

Calendar Object Properties

 

 


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

Product Support Forum  |  Documentation Feedback