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

The RichText edit style – PB Docs 125 – PowerBuilder Library

The RichText edit style – PB Docs 125

The RichText edit style

You can use the RichText edit style to display column data
in a rich text format, and to use different fonts and colors in
the same data field.

Columns that you format with the RichText edit style require
considerably more storage space than columns with plain text edit
styles. Therefore you should set a minimum of 1 KB for the column
width. Otherwise, you can use the RichText edit style with columns
that have large text datatypes.

note.png Maximum text length

By default, the maximum text length for a DataWindow column
is 32 KB. However, for most database drivers, you can set this length
to a higher value. For the PowerBuilder ODBC driver, you can set
the maximum text length in the pbodbxxx.ini file,
where xxx is the PowerBuilder version number.
If you add “PBMaxTextSize=1024000” to the section of the
INI file for the database to which you are connecting, you change
the maximum text length for a DataWindow column to 1 MB.

By default, whenever a column with the RichText edit style
is edited in the Preview view or at runtime, a font toolbar displays.
The font toolbar disappears when the column loses focus. The following
picture shows the default font toolbar available for columns with
the RichText edit style:

rttoolbr.gif

You can modify the RichTextToolbarActivation constant on a DataWindow control to
display the font toolbar whenever a DataWindow object containing columns
with the RichText edit style has focus—whether or not this
type of column is selected. You can also modify the constant so
that the font toolbar never appears.

For more information, see RichTextToolbarActivation in the
online Help.

The RichText edit style is not available for columns in a DataWindow object with
the Graph, OLE, or RichText presentation styles.


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