Thread Tools Display Modes
02-15-11, 10:29 AM   #1
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Panels, doesn't hide propper?

Hello, i made simple panels, and when i do alt-z they still show is there anyway to hide them when i do that?



Full LUA; http://pastebin.com/FAGUNLC9
  Reply With Quote
02-15-11, 10:34 AM   #2
Waky
A Cobalt Mageweaver
 
Waky's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2010
Posts: 200
Make sure you make the parent-frame "UIParent" That's what gets hidden via Alt+Z

Edit: i.e. local StatPanel = CreateFrame('Frame', 'nStatPanel', UIParent)

Last edited by Waky : 02-15-11 at 10:37 AM.
  Reply With Quote
02-15-11, 10:38 AM   #3
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Originally Posted by Waky View Post
Make sure you make the parent-frame "UIParent" That's what gets hidden via Alt+Z

Edit: i.e. local StatPanel = CreateFrame('Frame', 'nStatPanel', UIParent)
Aha, i see, thanks.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Panels, doesn't hide propper?


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