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

SelectedPage – PB Docs 125 – PowerBuilder Library

SelectedPage – PB Docs 125

SelectedPage PowerScript function

Description

Obtains the number of the current page in a RichTextEdit control.

Controls

RichTextEdit controls

Syntax

Argument

Description

rtename

The name of the RichTextEdit control
in which you want the number of the current page

Return Values

Integer. Returns the number of the current
page in rtename. If an error occurs, SelectedPage returns
-1.

Usage

The current page in a RichTextEdit control is the page that
contains the insertion point in text entry mode or the page currently
being displayed in preview mode.

When the RichTextEdit shares data with a DataWindow, SelectedPage returns the
page number within the document instance for the current row.

For more information about document instances,
see DataSource.

Examples

This example returns the page number of the current
page:

See Also


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