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

SelectedStartPos – PB Docs 2019 – PowerBuilder Library

SelectedStartPos – PB Docs 2019

SelectedStartPos

property for PowerScript controls

Applies to

RichTextEdit controls

Description

The SelectedStartPos property specifies the starting position in a
selected text string.

Usage

Typically, you use the SelectedStartPos property to set the starting
position of a selected text string to the first letter of a word that is
flagged by 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 SelectedStartPos property cannot be set in a design-time
painter.

In scripts

The SelectedStartPos property takes a long value.

The following code in a ReplaceWord event for the Wintertree
Software WSpell ActiveX control sets the starting position in the text
string that is being spell checked to the offset position of a misspelled
word. After setting the starting position, the SelectedTextLength setting
causes the entire misspelled word to be highlighted, and the ReplaceText
call replaces it with a word that the user selects in a WSpell dialog
box.


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