Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-17-10, 11:21 AM   #1
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
Hide something

Ok so for some reason I cannot for the life of me remember how to hide a ui element at all time.


I know frame:Hide()

but whenever a event happens it pops back up.

I vaguely remember a else if then to keep it hidden.


if frame:Show()
then
frame:Hide()
else
end


but I just can't think.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Hide something


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