EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 02-16-2007, 05:36 PM
uberfuzzy's Avatar
uberfuzzy uberfuzzy is offline
A Grassland Beetle
Interface Author - Click to view interfaces
 
Join Date: Sep 2006
Posts: 64
Default open window to a tab?

is there a way to open a window with tabs to a specific tab?

/show_window MainHUD.Achievements

i want to make 2 different buttons, one that opens to the KOS tree and one that opens to the EOF tree.

any idea?
Reply With Quote
  #2  
Unread 02-16-2007, 07:15 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

I believe so, yes.

I can't remember how to select a specific tab via OnEvent script (search through Zonx's posts, I think he figured it out a few years ago ), but for actually calling it, you would use another window. Such as using OnShow="visible=false parent.Achievements.visible=true parent.achievements.TabPane.Selected=1" in a window you add, and then use a socials macro to show that window.
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 02-16-2007 at 07:26 PM.
Reply With Quote
  #3  
Unread 02-16-2007, 09:07 PM
uberfuzzy's Avatar
uberfuzzy uberfuzzy is offline
A Grassland Beetle
Interface Author - Click to view interfaces
 
Join Date: Sep 2006
Posts: 64
Default

went looking, cant find the posts you were talking about.
i'm gonna start doing som tests and figure this out.
i know its only a matter of combinations of words(objects), i ought to be able to figure out how.

although on a completly side note, i noticed something strange in the ui.
on the TabSource object for the EoF tree, the object is called "Echos" which makes sence.
yet the text for the object is "Faydark Tree", not "Feydwer" as in "Echos of"
Reply With Quote
  #4  
Unread 02-16-2007, 10:19 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Yeah, the thing I was thinking about was Zonx's finds on listboxes and dropdowns. Couldn't find anything for TabPanes. :/
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #5  
Unread 02-16-2007, 11:11 PM
uberfuzzy's Avatar
uberfuzzy uberfuzzy is offline
A Grassland Beetle
Interface Author - Click to view interfaces
 
Join Date: Sep 2006
Posts: 64
Default

if it helps, what i'm trying to do is make 2 buttons (well, theyre gonna be clear overlay buttons overtop some text, but thats not the issue)

one that opens the AA window and brings up the KoS tree,
and another the opens the AA window and brings up the EoF tree

i cant figure out how to set a tab to be the active tab.
the whole TabSource TabPages TabPane thing is kinda weird.

is it .Activate or .Activated or .Selected?

any insight is appreciated from those of you who know far more then i about this evil twisted system
Reply With Quote
  #6  
Unread 02-17-2007, 04:45 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

You can set the tab by setting the MainHUD.Achievements.TabPane.ActiveTab to either 0 or 1.

You can also do this:
/show_window MainHUD.Achievements.TabPages.Echoes
/hide_window MainHUD.Achievements.TabPages.Kos
but while this will show the correct pages, it will not switch the tab itself for you (but since you won't need the tab you could just /hide_window it (or remove it if you want to mod the achievements window).
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #7  
Unread 02-17-2007, 06:30 AM
uberfuzzy's Avatar
uberfuzzy uberfuzzy is offline
A Grassland Beetle
Interface Author - Click to view interfaces
 
Join Date: Sep 2006
Posts: 64
Default

yay! my faith in the ui gods is rewarded once again
Reply With Quote
  #8  
Unread 02-17-2007, 05:34 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

set ActiveTab to 0 for Kos and ActiveTab to 1 for EoF. This will show the page and set the active tab to that page.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #9  
Unread 02-17-2007, 06:40 PM
uberfuzzy's Avatar
uberfuzzy uberfuzzy is offline
A Grassland Beetle
Interface Author - Click to view interfaces
 
Join Date: Sep 2006
Posts: 64
Default

omg, it actually works, i'm gonna be able to do what i wanted!
whee!
virtual cookies for all!

Quote:
Originally Posted by Landiin
set ActiveTab to 0 for Kos and ActiveTab to 1 for EoF. This will show the page and set the active tab to that page.
it doesnt show the page, but it does change the "remembered" tab for next time you open it
Reply With Quote
  #10  
Unread 02-17-2007, 07:03 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

he means the tab page
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
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 11:03 PM.


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