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

LoadDockingState PowerScript function – PB Docs 126 – PowerBuilder Library

LoadDockingState PowerScript function – PB Docs 126


LoadDockingState PowerScript function

Loads two arrays of equal size: type names of persisted sheets and the corresponding
IDs.

Applies to

Window objects

Syntax

Argument Description
regkey The registry key where the information was stored using the
SaveDockingState function.
windowtypes A string array of window types for all the child windows that
were persisted.
sheetnames A string array of the unique IDs for the persisted child windows
corresponding to the types in the windowtypes
array.

Returns

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

Usage

To retrieve the MDI states that were saved using the
SaveDockingState function, use
LoadDockingState to get the window information from the
registry. Next, use OpenSheetFromDockingState or
OpenSheetWithParmFromDockingState to open each of the
persisted sheets. Finally, use CommitDocking to do the final
arrangement and make the sheets visible.

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
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x