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

PasteRTF – PB Docs 2019 – PowerBuilder Library

PasteRTF – PB Docs 2019

PasteRTF

PowerScript function

Description

Pastes rich text data from a string into a DataWindow control,
DataStore object, or RichTextEdit control.

Applies to

DataWindow controls, DataStore objects, and RichTextEdit
controls

Syntax

Argument

Description

rtename

The name of the DataWindow control, DataStore object, or
RichTextEdit control into which you want to paste data in rich
text format. The DataWindow object in the DataWindow control or
DataStore must be a RichTextEdit DataWindow.

richtextstring

A string whose value is data with rich text
formatting.

band

(optional)

A value of the Band enumerated datatype specifying the
band into which the rich text data is pasted. Values are:

  • Detail! — The data is pasted into the detail
    band

  • Header! — The data is pasted into the header
    band

  • Footer! — The data is pasted into the footer
    band

The default is the band that contains the insertion
point.

Return value

Long. Returns -1 if an error occurs. If richtextstring is null,
PasteRTF returns null.

Usage

A DataWindow in the RichText presentation style has only three
bands. There are no summary or trailer bands and there are no group
headers and footers.

Examples

This statement pastes rich text in the string ls_richtext into the
header of the RichTextEdit rte_message:

See also

CopyRTF


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