Bandname.Text

Description

(RichText presentation style only) The rich text content of the specified band as an ASCII string.

Applies to

DataWindows in the RichText presentation style

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.bandname.Text

Describe and Modify argument:

"DataWindow.bandname.Text { = rtfstring }"

Parameter

Description

bandname

The identifier of a band in the DataWindow object that has the RichText presentation style. Values are:

  • Detail

  • Header

  • Footer

rtfstring

A string whose value is the rich text content of the band. The string includes the rich text formatting codes, text, and input fields.

Text assigned to the header or footer band is ignored if RichText.HeaderFooter is set to no.

When you assign text using the Modify method or dot notation, nested quotes must be represented with tildes and quotes. If your data is a pure RTF string, use the PasteRTF method.

Usage


In the painter

Set the value by editing the content of each band in the painter workspace.

Examples

Example 1

ls_footertext = dw1.Object.DataWindow.Footer.Text

Example 2

ls_data = dw1.Describe("DataWindow.Detail.Text")