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

SetRichTextColor – PB Docs 150 – PowerBuilder Library

SetRichTextColor – PB Docs 150

SetRichTextColor method (DataWindows)

Description

Sets the color
to use while editing columns with the RichText edit style.

Controls

DataWindow control

Syntax

Argument

Description

dwcontrol

A reference to the DataWindow control

color

A long value specifying the color that
you want to set for editing columns with the RichText edit style

Return Values

Returns 0 if it succeeds and –1 if an error occurs.
If the argument’s value is null, SetRichTextColor returns
null.

  • 0 Success

  • -1 No RichText column is being edited

Usage

If the color for columns with the RichText edit style is white,
background transparency and gradient and text transparency will
not work properly.

You can call this method from a button in a custom toolbar
that you use to set display characteristics of columns with the
RichText edit style.

Examples

This example sets green as the current color to use
for editing columns that have a RichText edit style:

See Also


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