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

Previewing and printing – PB Docs 125 – PowerBuilder Library

Previewing and printing – PB Docs 125

Previewing and printing

To see what the RichText DataWindow object looks like with data,
you can preview it in the Preview view or in preview mode.

proc.png To preview the DataWindow object in preview mode:

  1. Select File>Run/Preview
    from the menu bar, or click the Run/Preview button on the
    PowerBar.

  2. Select Rows>Retrieve from the menu bar.

    note.png Retrieve on Preview

    If the RichText definition specifies Retrieve on Preview,
    data is retrieved automatically when you open the Preview view or
    preview the DataWindow object in preview mode.

Changes in preview

Data

While previewing the DataWindow object in preview mode, or when focus
is in the Preview view, you can use the scroll buttons in the Preview toolbar
to move from row to row, and you can change data in the input fields. If
you choose the Save Changes button on the toolbar, you will update
the data in the database.

Text

Any changes you make to the rich text in the Preview view will
not be reflected
in the Design view. Any changes that
you want to keep must be made in the Design view, not in preview.

If the Display Only setting is checked, you cannot change
text or data in the Preview view.

Print Preview

Print Preview displays a reduced view of one row of data as
it would appear when printed.

proc.png To see the DataWindow object in Print Preview:

  1. Click in the Preview view to make it the
    current view.

  2. Select File>Print Preview.

In Print Preview, you can test different margin settings and
scroll through the pages of the document.

You cannot scroll to view other rows
of data.

Any changes you make to settings in Print Preview are discarded
when you return to the Design view.

note.png Setting margins

To specify permanent margin settings for the RichText DataWindow object, use
the Print Specifications page of the Rich Text Object dialog box.


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