DataWindow Page Navigation
There are several global
properties related to DataWindow page navigation. Set the
navigation bar at the top or the bottom of a DataWindow page by
modifying the PBDataWindowNavigationBarPosition property.
the type of navigation bar you want to use: NextPrev, Numeric, QuickGo,
or combined types.
- QuickGo � edit labels for the QuickGo navigation bar and
the text for the current and total page counts by modifying the PBDataWindowGoToDescription,
PBDataWindowGoToButtonText, and PBDataWindowStatusInfoFormat properties. - NextPrev � this figure shows the default NextPrev navigation
bar:It shows page status information with default text
for the current and total page count. You can use the PBDataWindowStatusInfoFormat property to modify the text.The NextPrev navigation bar includes the > symbol for navigating
to the next page, and the < symbol
for navigating to the previous page. Doubled symbols are controls
for navigating to the first page (<<)
or last page (>>). The
navigation bar folds up to show only symbols that are functional
when a user displays the first or last page of a DataWindow. For
example, the user cannot navigate to a previous page from the first
page, and navigating to the first page is unnecessary, so the < and << symbols
do not display on the first page. - NumericWithQuickGo � this figure shows
the NumericWithQuickGo navigation bar:The numeric portion
of the navigation bar lists each page by its page number. You can
set the PBDataWindowPageNavigatorType to Numeric or
to QuickGo if you want to use these styles separately.
You can also combine the NextPrev style with the QuickGo style by
setting the PBDataWindowPageNavigatorType property to NextPrevWithQuickGo.
Although the QuickGo navigation control appears by default as a drop-down
list, you can change this to a text box with an associated command
button by setting the PBDataWindowQuickGoPageNavigatorType property
to Button. You can edit the button label by
setting the PBDataWindowGoToButtonText property. You set the label
for the text box or the drop-down list by modifying the PBDataWindowGoToDescription
property.