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

GetFirstSheet – PB Docs 2018 – PowerBuilder Library

GetFirstSheet – PB Docs 2018

GetFirstSheet

PowerScript function

Description

Obtains the top sheet in the MDI frame, which may or may not be
active.

Applies to

MDI frame windows

Syntax

Argument

Description

mdiframewindow

The MDI frame window for which you want the top
sheet

Return value

Window. Returns the first (top) sheet in the MDI frame. If no sheet
is open in the frame, GetFirstSheet returns an invalid value. If
mdiframewindow is null, GetFirstSheet returns null.

Usage

To cycle through the open sheets in a frame, use GetFirstSheet and
GetNextSheet. Do not use these functions in combination with
GetActiveSheet.

Did GetFirstSheet return a valid window?

Use the IsValid function to find out if the return value is valid.
If it is not, then no sheet is open.

Examples

This script for a menu selection returns the top sheet in the MDI
frame:

See also

GetNextSheet

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