Thread Tools Display Modes
10-08-09, 03:53 PM   #1
Jooze
A Wyrmkin Dreamwalker
 
Jooze's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jul 2007
Posts: 52
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?
  Reply With Quote
10-08-09, 03:59 PM   #2
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 199
ToggleCharacter("TokenFrame")
__________________
« Website | GitHub »

Oh hai!
  Reply With Quote
10-09-09, 05:14 AM   #3
Jooze
A Wyrmkin Dreamwalker
 
Jooze's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jul 2007
Posts: 52
Thx alot! It worked
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Toggle Currency Tab


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