CommitDocking PowerScript function
After all persisted sheets are opened, this function arranges them and makes them
visible.
Applies To
Window objects
Syntax
1 |
CommitDocking() |
Usage
When all persisted sheets are opened using the LoadDockingState
and OpenSheetFromDockingState or
OpenSheetWithParmFromDockingState, the
CommitDocking function does the work of arranging everything
in place and making it all visible.
Example 1
Restore all sheets for
register
1 2 3 4 5 6 7 8 9 10 11 12 |
string s1[], s2[] string is_register = "SybasePowerBuilderExamplesDocking" integer li_start, li_end, li_i, li_rtn li_rtn = LoadDockingState(is_register,s1,s2) window lw_window li_start = lowerbound(s1) li_end = upperbound(s2) for li_i = li_start to li_end openSheetFromDockingState(lw_window,s1[li_i], this, s2[li_i]) next CommitDocking() |
Parent topic: Persist the MDI State
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments