3 - Events for Image controls are not fired
local e = LibGUI ("Image", "MyTestIcon")
e:AddAnchor ("Root", "center", "center", 0, 0)
e:Resize (48, 48)
e.OnLButtonUp = function() d(L"MyTestIcon.OnLButtonUp";) end
| User | When | Change |
|---|---|---|
| FuriCuri | Jan 03, 2010 at 21:51 UTC | Create |
- 1 comment
- 1 comment
- Reply
- #2
Aiiane Jan 03, 2010 at 23:03 UTC - 0 likesIIRC, the Image control does not have any events registered by default - you need to tell LibGUI to listen for the onlbuttonup event if you want it to fire.
Edit: Hm, nevermind. Just checked and they should be.