Originally Posted by DerVagabund
Hm, thanks for the reply, that answers most of my questions
But about the update, I create my own scrolllist and then I update all containing controls. But when I do this, it seems that the items in the control are not updated correctly. When I close the window and reopen it, then all changes are applied. Do I need to reload the scrolllist or is there a function to tell it to refresh its contents?
edit: ah, how to make a top level window capture key presses (again, in pure lua, not xml - in xml I found a way)?
|
Hm. Don't know about scrolls. Never used them
Same as for all others.
Lua Code:
SomeRef:SetHandler("OnKeyUp" , function(self, key, ctrl, alt, shift, command)
-- your action
end)
Events:
OnKeyDown
OnKeyUp
Arguments:
self, key, ctrl, alt, shift, command,...