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 2021 – PowerBuilder Library

The RichText edit style – PB Docs 2021

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.

Note

The RichText edit style column performs slowly in the Grid and
Tabular DataWindows. It is recommended to use the RichText edit
style column in the Freeform DataWindow only.

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.

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 the section called “RichTextToolbarActivation” in DataWindow Reference.

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

Note

The SP1, SP2, and SP3 of TX Text Control ActiveX 2400 do not
support the RichText edit style any more. You should use TX Text
Control ActiveX 2400 or TX Text Control ActiveX 28.0 provided by
PowerBuilder.


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