Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

DataWindow Page Navigation – PB Docs 120 – PowerBuilder Library

DataWindow Page Navigation – PB Docs 120


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 PBDataWindowPageNavigatorType property lets you select
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:

    DataWindow Page Navigation_1.gif

    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:

    DataWindow Page Navigation_2.gif

    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.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x