View Single Post
08-28-14, 07:16 PM   #6
zmga
A Murloc Raider
Join Date: Aug 2014
Posts: 5
Code:
CreateFrame("Frame", nil, "MyFrame")
MyFrame.Hide = CreateFrame("Frame")
Hopefully you can see how that would cause problems when attempting to call MyFrame:Hide() ![/quote]

Sorry, I'm not very versed in lua (or xml for that matter) so more explanation would be helpful. I just assumed that x:hide() was different from x.hide.

Looking it up in the lua wiki it seems that x:hide() is the same thing as x.hide(x) but I'm not quite why that is…
  Reply With Quote