EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > ProfitUI

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 06-04-2007, 03:39 PM
Zyther's Avatar
Zyther Zyther is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Server: Nektulos
Posts: 24
Default 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..
Reply With Quote
  #2  
Unread 06-05-2007, 02:56 PM
Zyther's Avatar
Zyther Zyther is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Server: Nektulos
Posts: 24
Post 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..

Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:58 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI