ComponentOne True DBInput Pro 8.0
ShowNavigator Property (TDBCalendar)

The ShowNavigator property determines which types of date navigators to use in the calendar control.

Syntax

control.ShowNavigator= value

Read/Write at run time and design time.

Values

Design Time

Run Time

0 - None

dbiShowNavNone

1 - Buttons

dbiShowNavButtons

2 - Scroll bar

dbiShowNavScrollBar

3 - Outlook style (Default)

dbiShowNavOutlook

Remarks

When the ShowNavigator is set to 0- None, no navigating features will be provided visually in the calendar. Although the shortcut keys can be used to jump between years and months, this mode is usually specified when the user wants to provide their own specific browsing capabilities, and the calendar control provides methods for navigating.

When the ShowNavigator is set to 3- Outlook, an Outlook style navigating buttons will be added to the right and left side of the month title bar. Clicking on the buttons allow you to navigate either back or forward dependent to the ScrollRate property. Year navigation can be done by clicking on the title bar and popping up a list to select year and month, or clicking on the arrow buttons with the Ctrl key pressed down. Also when clicking on the month title bar, a popup menu will be shown, and the appropriate year and month can be selected.

When the ShowNavigator is set to either 1- Buttons or 2- Scrollbar, a navigator bar or a scroll bar will be shown in the control. Navigating through the months can be achieved by clicking on the inner buttons of the Button navigator or the single arrow buttons of the Scrollbar navigator. Year navigation can be achieved by clicking on the outer buttons of the Button navigator or the double arrow buttons of the Scrollbar navigator. The Scrollbar navigator also provides a button to jump to the current date. Clicking on the scrollbar pane of the Scrollbar navigator will cause scrolling to the next/previous view.

These options also can be used with the NavOrientation property to determine the position of the navigator. The navigator bar can be placed on any side of the control.

When using a scrollbar as a navigator, a scrolltip window can be shown to indicate the current position in the calendar.

 

 


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

Product Support Forum  |  Documentation Feedback