Proper quoting using your sample...
ToggleSizeButton.OnPress='parent.groupmember2.Onshow="groupmember2.OnShowH" Onpress=Press2'
Its a good idea to put returns between separate commands. If they're all on the same line they execute in right to left. Once you've got some text in a value field, double-clicking the property pops up a window that allows returns.
The base OnShow and On Hide should have values matching whtever the default switcher button does, so it does something the first time its pushed. If for instance the first press makes the window Vertical, dupe your OnShowV and OnHideV code.
No you don't need to state an object's name when manipulating its properties or a sub object. Say you're using a page's OnShow to resize the page and move its BackDrop. The OnShow value would look like this..
size='200,300'
BackDrop.location='2,2'
The page gets resized to 200 x 300
the BackDrop inside the page gets moved to 2,2
And no, I wouldn't use dummy pages for this. My Inventory window uses a dummy page to simulate shrinking down to the right, and to give users a way to quickly set it back to their favorite spot
