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

TextFrameSetBackColor – PB Docs 2022 – PowerBuilder Library

TextFrameSetBackColor – PB Docs 2022

TextFrameSetBackColor

PowerScript function

Description

Sets the background color of a text frame in the RichTextEdit
control. The RichTextEdit control uses the Microsoft Windows operating
environment red-green-blue (RGB) color scheme. The valid range for a RGB
color is 0 to &HFFFFFF. The high byte of a number in this range equals
0; the lower 3 bytes, from least to most significant byte, determine the
amount of red, green, and blue, respectively. The red, green, and blue
components are each represented by a number between 0 and 255
(&HFF).

Applies to

RichTextEdit control

Syntax

Argument

Description

textFrameID

The unique ID that identifies the text frame.

color The background color of the text frame. The RichTextEdit
control uses the Microsoft Windows operating environment
red-green-blue (RGB) color scheme. The valid range for a RGB color
is 0 to &HFFFFFF. The high byte of a number in this range
equals 0; the lower 3 bytes, from least to most significant byte,
determine the amount of red, green, and blue, respectively. The
red, green, and blue components are each represented by a number
between 0 and 255 (&HFF).

Return value

Boolean.

Returns true if it succeeds. Returns false if it fails. Returns null
if any argument is null.

Examples

The following example sets the specified text frame to use gray
background color (#808080).


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