![]() |
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? |
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 :p), 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. |
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" |
Yeah, the thing I was thinking about was Zonx's finds on listboxes and dropdowns. Couldn't find anything for TabPanes. :/
|
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 |
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.Echoesbut 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). |
yay! my faith in the ui gods is rewarded once again
|
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.
|
omg, it actually works, i'm gonna be able to do what i wanted!
whee! virtual cookies for all! Quote:
|
he means the tab page ;)
|
| All times are GMT -5. The time now is 12:11 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI