OpenSheetFromDockingState PowerScript function – PB Docs 126


OpenSheetFromDockingState PowerScript function

Opens one or more persisted sheets within an MDI frame window for dockable
windows.

Applies to

Windows objects

Syntax

Argument Description
sheetrefvar The name of any window variable that is not an MDI frame window.
OpenSheetFromDockingState places a reference
to the open sheet in sheetrefvar.
windowtype (optional) A string whose value is the datatype of the window you want to
open. The datatype of windowtype must be the same
or a descendant of sheetrefvar.
mdiframe The name of an MDI frame window.
sheetname The unique string identifier for the sheet.

Returns

Integer. Returns 1 if it succeeds and -1 if an error occurs. If any argument’s value
is null, OpenSheetFromDockingState returns null.

Usage

Open persisted sheets in their saved docking states.

Parent topic: Persist the MDI State

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x