Thread Tools Display Modes
09-24-10, 09:37 AM   #1
Galinn
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations
Join Date: Feb 2007
Posts: 154
Kgpanels (OnClick) support

Hi folks,

Ive been encountering an isseu, i want to make panels with kgpanels with onClick script that when i click on the panel my characterframe becomes visible or lets say my talent frame becomes visible! now i know how to enter the frame name i have this macro for it that goes like this:

/run ChatFrame1:AddMessage(GetMouseFocus():GetName())

So all i need to do now is make the script and put the name of the frame into the script to make it visible/invisible

and this is were you handy people come in!

What script do i use?!?! i looked it up on wowace and everything.. but i am a newbie to scripting i suppose

thx in advance

Galinn
  Reply With Quote
09-24-10, 10:18 AM   #2
Ferous
Sheer Sense of Doom
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 863
Just a side note, instead of using that macro you can just type /framestack ingame instead.

Looking through this thread: http://forums.wowace.com/showthread.php?t=11276

And using the Thread Tools will help you find what you are looking for.
  Reply With Quote
09-24-10, 09:27 PM   #3
Xubera
A Cobalt Mageweaver
 
Xubera's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 207
/run ToggleFrame(frameName)

so if its TalentFrame then

/run ToggleFrame(TalentFrame)

no quotes

ToggleFrame is a function inside UIParent.lua line 1954 in the 3.3.5 build of WoW
__________________
Chat Consolidate is the solution to any out of control trade chat. Ignore lines, throttle chat, consolidate posts!Follow the link to find out how!

▲ ▲ WoWInterface wont let me triforce >.>
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Kgpanels (OnClick) support


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