SelectedPage PowerScript function
Description
Obtains the number of the current page in a RichTextEdit control.
Controls
RichTextEdit controls
Syntax
|
1 |
<span>rtename</span>.<span>SelectedPage</span> ( ) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control |
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:
|
1 |
integer li_pagect |
|
1 |
li_pagect = rte_1.<span>SelectedPage</span>() |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest