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

GetActiveSheet – PB Docs 2022 – PowerBuilder Library

GetActiveSheet – PB Docs 2022

GetActiveSheet

PowerScript function

Description

Returns the currently active sheet in an MDI frame window.

Applies to

MDI frame windows

Syntax

Argument

Description

mdiframewindow

The MDI frame window for which you want the active
sheet

Return value

Window. Returns the sheet that is currently active in
mdiframewindow. If no sheet is active, GetActiveSheet returns an invalid
value. If mdiframewindow is null, GetActiveSheet returns null.

Usage

Use the IsValid function to determine whether GetActiveSheet has
returned a valid window value.

Examples

These statements determine the active sheet in the MDI frame window
w_frame and change the text of the menu selection m_close on the menu
m_file on the menu bar m_main. If no sheet is active, the text is Close
Window:

See also

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