Lostgallifreyan <z.c...@...> writes:

> 
> Is there a way to tell a wxSpinctrl to always send a signal when a button is 
clicked, not just when the value
try

this is a very long question I just try to anwer your 1st point.

frame = wx.wxFrame(wx.NULL, wx.wxID_ANY,'')
frame:Show(true)
sp=wx.wxSpinCtrl(frame)
sp:SetRange(23,37)

sp:Connect(wx.wxEVT_LEFT_UP,  
    function (event)
        print('a')
        event:Skip()
    end)

wx.wxGetApp():MainLoop()

'a' is displayed on any click.


------------------------------------------------------------------------------
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
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to