When making the LAM calls, I added all controls to a local table.
Afterwards doing something like
Code:
for _, v in ipairs(controls) do
local onShowFunc = v:GetHandler('OnShow')
if (onShowFunc ~= nil) then onShowFunc() end
end
or
Code:
for _, v in ipairs(controls) do
v:SetHidden(true)
v:SetHidden(false)
end
works, but not for sliders. I have looked at it for half an hour now, but it beats me
Switching to another panel and back, still works though...
Aah, the wonders of eso & lua