SelectedColumn – PB Docs 2017

SelectedColumn

PowerScript function

Description

Obtains the number of the character column just after the insertion
point in a RichTextEdit control.

Applies to

RichTextEdit controls

Syntax

Argument

Description

rtename

The name of the RichTextEdit in which you want the number
of the character after the insertion point

Return value

Long.

Returns the number of the character just after the insertion point
in rtename. If an error occurs, SelectedColumn returns -1.

Usage

The insertion point can be at the beginning or end of the selection.
Therefore, SelectedColumn can return the first character of the selection
or the character just after the selection, depending on the position of
the insertion point.

Examples

If the insertion point is positioned before the fifth character on
line 8 of the RichTextEdit rte_Contact, the following example sets
ll_col to 5 and ll_line to 8:

See also

LineLength

Position

SelectedLine

SelectedPage

SelectedText

TextLine


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