Lostgallifreyan <z.c...@...> writes:
>
try
frame = wx.wxFrame(wx.NULL, wx.wxID_ANY,'')
frame:Show(true)
sp=wx.wxSpinCtrl(frame)
sp:SetRange(10,40)
sp:Connect(wx.wxEVT_LEFT_UP,
function (event)
print('up')
event:Skip()
end)
sp:Connect(wx.wxEVT_KILL_FOCUS,
function(event)
print('k')
end)
wx.wxGetApp():MainLoop()
You can enter any text in the control and focus does not change it.
Andre
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users