View Single Post
04-30-23, 01:59 AM   #18
AeroMaxxD
An Aku'mai Servant
Join Date: Dec 2022
Posts: 33
Originally Posted by Fizzlemizz View Post
I didn't see the underscore so
Lua Code:
  1. PanelTemplates_SetNumTabs(AMD_TabOnCharacterFrame, 1) -- assumes you only have 1 tab
  2. PanelTemplates_SetTab(AMD_TabOnCharacterFrame, 1) -- select the 1 tab

I don't know if you have more tabs buttons on the frame so the code may need to change if you have more.
I just have one tab, but what if another user who used the addon had more tabs?
  Reply With Quote