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

GetTextColor – PB Docs 2019 – PowerBuilder Library

GetTextColor – PB Docs 2019

GetTextColor

PowerScript function

Description

Obtains the color of selected text in a RichTextEdit control.

Applies to

RichTextEdit controls

Syntax

Argument

Description

rtename

The name of the RichTextEdit control in which you want to
find out the color of selected text

Return value

Long.

Returns the long value that specifies the color of the currently
selected text. If text of different colors is selected, GetTextColor
returns the color of the first selected character. GetTextColor returns -1
if an error occurs.

Examples

This example stores a long representing the color of the selected
text in rte_1:

See also

GetTextStyle

SetTextColor

SetTextStyle


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