View Single Post
04-11-24, 06:11 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,953
Your toggle function only displays text in the chat frame - did you check to see if it appeared ?
Lua Code:
  1. function MyAddonOptionsPanel_Toggle()
  2.     -- Add code to open or close the options panel here
  3.     print("Toggle options panel")
  4. end

If that text appeared then it is working, you just need to add your code to manage the opening and closing of the panel.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote