aahh that's less scary.
if for example i set up my control with the anchors and all this like this, it's ok even if created in the course of the game? : (will create only once)
Code:
if not (control) then
control = wm:CreateControl(blabla)
etc...
control:SetHandler("blabla", function)
end
and if i got it, it's better to use 2 different textures each one with its own handler, then hide/show the one you need instead of swaping dds/Handler?
and votan, thanks for the workaround... i learned something like that not long ago, still need to work on it
Edit: btw, how to "remove" a Handler? Setting it on nil will delete the previous "closure" too? i suppose not if rewriting it just creates more ( i may not get exactly what a closure is but i hope you get the idea of the question )