My player window has multi-layout function. Rather than use a checkbox, I just used 2 buttons that would hide/show each other. I found the checkbox to be too much of a hassle. And if you get fancy, it's too annoying to "set" a checkbox to a certain state without clicking it manually. Where a button, it's very easy to press it via the UI.
So, if you're doing stuff via the Window Settings, then you can use the OnShow/OnHide event from the Titlebar/Frame objects, to press layout oriented buttons.
That aside. you can look at that code, which is very simple, if you want.
http://www.eq2interface.com/download...k-to-cure.html
I think i used something similar in my chat window to move the tabs around depending on what setting the frame was on.
*edit* here's a copy and sort out of the code:
Layout_1 button:
Code:
OnPress="Parent.Parent.Parent.Player.MaximumSize=16384,116
Parent.Parent.Parent.Player.MinimumSize=170,116
Parent.Parent.HealthPage.HealthPctOn.press=true
Parent.Parent.PowerPage.PowerPctOn.press=true
Parent.Parent.FullHealth.visible=true
Parent.Parent.FullPower.visible=true
Parent.Parent.PowerPage.top=45
Parent.Parent.Power.top=51
Parent.Parent.Concentration.top=72
Parent.Parent.CureButtons.top=82
Parent.Parent.Effects.top=82
Parent.Layout_2.visible=true
visible=false"
Layout_2 button:
Code:
OnPress="Parent.Parent.Parent.Player.MinimumSize=170,94
Parent.Parent.Parent.Player.MaximumSize=16384,94
Parent.Parent.FullHealth.visible=false
Parent.Parent.FullPower.visible=false
Parent.Parent.PowerPage.top=36
Parent.Parent.Power.top=40
Parent.Parent.Concentration.top=50
Parent.Parent.CureButtons.top=60
Parent.Parent.Effects.top=60
Parent.Layout_1.visible=true
visible=false"