Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-22-18, 09:17 AM   #1
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
Cool frame.setEnabled() ????

Hello,

I apologize if this has been already asked and answered already

But I'm new to wow coding and I'm working with some pretty old addon code (nUI) trying to learn and understand it all....

I came across some code that "element.frame.setEnabled( enabled);" which is generating a

"attempt to call field 'setEnabled' (a nil value)" error message.

I'm assuming that the method "setEnabled" used to exist for frames and has been removed and replaced with something better...but for the LIFE of me I can't find s**t about this anywhere....

I did find that the method setEnabled exists for buttons and such...but no info of it ever having anything to do with frames.

Can anyone shine some light on this for me please....point me in the right direction...

TYIA
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » frame.setEnabled() ????

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