View Single Post
03/15/19, 10:45 AM   #12
Kyoma
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 125
Originally Posted by Dolgubon View Post
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
  Reply With Quote