View Single Post
05/04/14, 09:07 AM   #4
Sideshow
 
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 36
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
  Reply With Quote