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

SelectTextAll – PB Docs 2017 – PowerBuilder Library

SelectTextAll – PB Docs 2017

SelectTextAll

method (DataWindows)

Description

Selects all the contents of a RichTextEdit control including any
special characters such as carriage return and end-of-file markers.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control

Syntax

PowerBuilder

Argument

Description

rtename

A reference to a DataWindow control in which you want
to select all the contents. The DataWindow object in the
DataWindow control must be a RichTextEdit
DataWindow.

band (optional)

A value of the Band enumerated datatype specifying
the band in which you want to select all the text. Values
are:

  • Detail!

  • Header!

  • Footer!

The default is the band that contains the
insertion point.

Return value

Returns the number of characters selected. A carriage return with a
line feed counts as a single character. If an error occurs, SelectTextAll
returns -1.

Usage

PowerBuilder RichTextEdit control

You can use the same syntax with a PowerBuilder RichTextEdit
control. See the section called “SelectTextAll” in PowerScript Reference.

Examples

This statement selects all the text in the detail band:

This statement selects all the text in the header band:

See also

SelectedText

SelectText

SelectTextLine

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