View Single Post
01-07-11, 05:21 PM   #2
lilsparky
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 117
those are not functions, they're methods. i would expect, tho i'm not sure, that this would work:

func = "EnableMouse"

...

fame[func](frame, true/false)


assuming that bliz widget methods act like normal methods...


also, if you set X = func() then you're executing the function func and assigning x to the result as opposed to X = func which would assign X to be a "pointer" to the function itself (so X() would be the same as func()). not that this would work in this case...
  Reply With Quote