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

SelectedTextLength – PB Docs 2019 – PowerBuilder Library

SelectedTextLength – PB Docs 2019

SelectedTextLength

property for PowerScript controls

Applies to

RichTextEdit controls

Description

The SelectedTextLength property specifies the length of text you
want to highlight in a selected text string.

Usage

Typically you use this property to obtain the length of a misspelled
word that is flagged after passing the selected text string to a supported
ActiveX spell checking control.

See the section called “Implementing Rich Text” in Application Techniques for more information about spell
checking text in RichTextEdit controls.

In a painter

The SelectedTextLength property cannot be set in a design-time
painter.

In scripts

The SelectedTextLength property takes a long value. The following
code in a MixedCaseWord or ReplaceWord event for the Wintertree Software
WSpell ActiveX control causes a word flagged by the control to be
highlighted for its entire length, beginning with the word’s offset
position in the text string that you are spell checking:


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