SaveDockingState PowerScript function
Stores the MDI state in the registry.
Applies to
Window objects
Syntax
|
1 |
SaveDockingState ( <var>regkey</var> ) |
| Argument | Description |
|---|---|
| regkey | The regkey argument is the registry key. If no entry for the key exists in the registry, one is created. Existing keys are overwritten. |
Returns
Integer. Returns 1 if it succeeds and -1 if an error occurs. If any argument’s value
is null, SaveDockingState returns null.
Usage
You can set the application so that it saves the states of the open sheets. You
should call this function when the application closes.
Example 1
Save all sheets in
register
|
1 2 3 |
integer li_rtn string is_register = "SybasePowerBuilderExamplesDocking" li_rtn = this.SaveDockingState (is_register) |
Parent topic: Persist the MDI State
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest