Quantcast WoWInterface - View Single Post - GetChildren() not working for FontStrings?
View Single Post
07-03-19, 12:57 PM   #8
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,918
Originally Posted by LudiusMaximus View Post
Thank you both!

So I assume there is no difference between
Code:
child:IsObjectType("FontString")
and
Code:
child:GetObjectType() == "FontString"
I think IsObjectType() works on objects that inherit methods from the specified type. For example, buttons may return true for IsObjectType("Frame").
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 07-03-19 at 01:00 PM.
  Reply With Quote