So my suggested method for dealing with this sortta thing is to give each MemberPage a dummy OnShow for each configuration.
OnShowV="all the resize and location stuff you want to happen to this MemberPage when layout is set to vertical"
OnShowH="all the resize and location stuff you want to happen to this MemberPage when layout is set to horizontal"
Now all your ConfigH button has to do is set MemberPage#.OnShow=MemberPage#.OnShowH for each member.
Do the same type thing for OnHides.
Maybe toss in...
MemberPage.Visible=! MemberPage.Visible=!
to double toggle visibility of each member and force the window to reconfig while grouped.
|