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

GetNextSheet – PB Docs 2019 – PowerBuilder Library

GetNextSheet – PB Docs 2019

GetNextSheet

PowerScript function

Description

Obtains the sheet that is behind the specified sheet in the MDI
frame.

Applies to

MDI frame windows

Syntax

Argument

Description

mdiframewindow

The MDI frame window in which you want the next
sheet

sheet

The sheet for which you want the sheet that is behind
it

Return value

Window. Returns the sheet that is behind sheet in the MDI frame. If
there is no sheet behind sheet, GetNextSheet returns an invalid value. If
any argument’s value is null, GetNextSheet returns null.

Usage

To cycle through the open sheets in a frame, use GetFirstSheet to
get the front sheet and GetNextSheet one or more times to get the rest of
the sheets. Test each return value with IsValid to see if you have reached
the last sheet. Do not use GetFirstSheet and GetNextSheet in combination
with GetActiveSheet.

Did GetNextSheet return a valid window?

Use the IsValid function to find out if GetNextSheet returned a
valid window. If there is no sheet behind the one you specified, the
return value is not valid.

Examples

The following script for a menu selection loops through the open
sheets in front-to-back order and displays the names of the open sheets in
the ListBox lb_sheets:

See also

GetFirstSheet

IsValid


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