Originally Posted by Dolgubon
I'm pretty sure controls created from Lua can handle OnUpdate. I haven't tried OnUpdate specifically but I have done OnClicked and some others, so I don't see why OnUpdate would be an exception. (control:SetHandler("OnUpdate", functionStuff) should work)
|
I do remember having trouble with an OnUpdate event for a toplevel window created through lua but it was a very long time ago so maybe I did something wrong