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

SelectTextLine – PB Docs 2019 – PowerBuilder Library

SelectTextLine – PB Docs 2019

SelectTextLine

method (DataWindows)

Description

Selects the line containing the insertion point in a RichTextEdit
control.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control

Syntax

PowerBuilder

Argument

Description

rtename

A reference to a DataWindow control. The DataWindow
object in the DataWindow control must be a RichTextEdit
DataWindow.

Return value

Returns the number of characters selected if it succeeds and -1 if
an error occurs.

Usage

If the RichTextEdit control contains a selection, the insertion
point can be at the beginning or end of the selection. The way the text
was selected determines the location.

If the user made the selection by dragging toward the end, then
calling SelectTextLine selects the line at the end of the selection. If
the user dragged back, then SelectTextLine selects the line at the
beginning of the selection.

SelectTextLine does not select the line-ending characters (carriage
return and linefeed).

PowerBuilder RichTextEdit control

You can use the same syntax with a PowerBuilder RichText Edit
control. See the section called “SelectTextLine” in PowerScript Reference.

Examples

This statement selects the current line:

See also

SelectedText

SelectText

SelectTextAll

SelectTextWord


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