View Single Post
  #3  
Unread 04-05-2005, 04:19 PM
dc_roenfanz's Avatar
dc_roenfanz dc_roenfanz is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Unkown
Posts: 588
Default

Quote:
Originally Posted by Zonx
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.
As an example then:

ToggleSizeButton.OnPress=parent.groupmember2.Onshow=groupmember2.OnShowH Onpress=Press2
ToggleSizeButton.Press1=parent.groupmember2.Onshow=groupmember2.OnShowH Onpress=Press2
ToggleSizeButton.Press2=parent.groupmember2.Onshow=groupmember2.OnShowV Onpress=Press1
-------------------------------------------
GroupMember2.OnShowV="parent.size=240,90" "shift postions code here"
GroupMember2.OnHideV="parent.size=240,45" "shift postions code here"
-----
GroupMember2.OnShowH="parent.size=480,45" "shift postions code here"
GroupMember2.OnHideH="parent.size=240,45" "shift postions code here"
-----------------
All I hafta do is figure out how to shift positions. Heh.
THanks, that helps alot.

Darrin
Reply With Quote