Quantcast
Disabling an element - WoWInterface
Thread Tools Display Modes
10-27-14, 01:25 PM   #1
Pyrates
A Cliff Giant
 
Pyrates's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 77
Disabling an element

Hey, how can I disable an element that's active? I have an eclipsebar that works nicely, but I want to disable it from code... just calling oUF_player.EclipseBar:Hide() hides it, but it will show again when entering combat. I tried reading the oUF code, but that didn't really become clear for me... Thanks for any pointers!
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
  Reply With Quote
10-27-14, 10:14 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Code:
frame:DisableElement("EclipseBar")
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Disabling an element

Thread Tools
Display Modes

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