GetTasks  GetTextStyle

Chapter 10: PowerScript Functions

GetTextColor

Description

Obtains the color of selected text in a RichTextEdit control.

Applies to

RichTextEdit controls

Syntax

rtename.GetTextColor ( )

Returns

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.





Copyright © 2004. Sybase Inc. All rights reserved. GetTextStyle

View this book as PDF