View Single Post
03-22-18, 09:50 AM   #3
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by VincentSDSH View Post
:SetEnabled() only has one context currently. That is not to say that it can't be added to a frame for a particular addon for a particular rationale. Excepting the above, as far as I can recall, frames weren't enabled/disabled in that way but rather by :Show(), :Hide(), and the now deprecated :IsVisible() and its replacement :IsShown().

You'd need to drop in the Lua or give us a source-addon for the code to look into it further.
:IsVisible() and :IsShown() is totally different, :IsShown() also returns true if the frame is outside of the UIParent and shown, while :IsVisible() only returns true of the frame in inside of the UIParent and shown aka (visible).
  Reply With Quote