LoadDockingState
PowerScript function
Description
Loads two arrays of equal size: type names of persisted sheets and
the corresponding IDs.
Applies to
Window objects
Syntax
|
1 |
LoadDockingState ( regkey, windowtypes, sheetnames ) |
|
Argument |
Description |
|---|---|
|
regkey |
The registry key where the information was stored |
|
windowtypes |
A string array of window types for all the child |
|
sheetnames |
A string array of the unique IDs for the persisted |
Return value
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, uses 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.