WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Toggle Currency Tab (https://www.wowinterface.com/forums/showthread.php?t=27748)

Jooze 10-08-09 03:53 PM

Toggle Currency Tab
 
I'm currently programming an Addon and want to implement an OnClick event that will open the Currency Tab.

I've managed to do this for the calendar using following code:
Code:

OnClick = function(_,b) (b == "RightButton" and ToggleTimeManager or ToggleCalendar)()
What do I have to replace Toggle Calendar with to open the currency tab?

xConStruct 10-08-09 03:59 PM

ToggleCharacter("TokenFrame")

Jooze 10-09-09 05:14 AM

Thx alot! It worked :)


All times are GMT -6. The time now is 11:22 PM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI