EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   Altered the group window (https://www.eq2interface.com/forums/showthread.php?t=8533)

Zyther 06-04-2007 03:39 PM

Altered the group window
 
I have altered the profit group window to be able to be displayed as vertical or horizontal. The problem is I am not sure if I went about it the correct way. Maybe there is another way I could have done it to make it a little cleaner. Anyways I used the onshow and onhide variables on the Frame to set the location of the sub-pages. Here is an example of the frame listing. Changing the window options to NONE and FRAME-ONLY changes between vertical and horizontal.

Code:

<Page AbsorbsInput="false" Name="WC_Frame" OnHide="Parent.Size=141,342
Parent.WC_Backdrop.Size=141,342
Size=141,342
Parent.GroupMember1.Location=3,60
Parent.GroupMember2.Location=3,116
Parent.GroupMember3.Location=3,172
Parent.GroupMember4.Location=3,228
Parent.GroupMember5.Location=3,284"
OnShow="Parent.Size=820,60
Parent.WC_Backdrop.Size=820,60
Size=820,60
Parent.GroupMember1.Location=139,4
Parent.GroupMember2.Location=275,4
Parent.GroupMember3.Location=411,4
Parent.GroupMember4.Location=547,4
Parent.GroupMember5.Location=683,4
" ScrollExtent="141,342" Size="141,342"
Visible="false"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Enabled="false" GetsInput="false" Name="WC_Backdrop" ScrollExtent="141,342" Size="141,342"/>
</Page>

*****Anyways as you can tell I am pretty new at this code stuff so be gentle :) Now that I look at it I could have created a button that onhoverin would be visible that would do the same thing.

*****Ok, if this way is the proper way of doing this I have a question. Other then adding an onhide command with the frame and background size on each sub-members pages could it auto resize the entire window automatically as members join or leave your group?

Thanks..

Zyther 06-05-2007 02:56 PM

Update
 
I have replaced the window settings frame and none to a button that is visible on hoverin that does the same thing. This makes switching between the views much easier but...

The question still remains, am I going about this the best way or should I be looking into a cleaner way of switching the views?

Example...
(onset blah.blah.group01.location=12,12 onunset blah.blah.group01.location=24.24)

Everything works great I just want the code to be as lean as possible.

Thanks in advance..

:nana:


All times are GMT -5. The time now is 01:16 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI