ListBox and TE_PROCESS_ENTER

Oswaldo Hernández listas at soft-com.es
Mon Jan 15 09:40:19 PST 2007


Hello,

I'm trying to capture Enter Key in a ListBox but if i declare the listbox with wx.TE_PROCESS_ENTER 
the list box show the vertical scroll bar and don't capture the enter key.

I notice that wx.TE_PROCESS_ENTER and wx.LB_ALWAYS_SB have the same value.


 >>> import wx
 >>> wx.version()
'2.8.0.1 (msw-unicode)'
 >>>
 >>> print wx.TE_PROCESS_ENTER, wx.LB_ALWAYS_SB
1024 1024
 >>>

It's a bug?

How can I capture Enter key in a ListBox?

Thanks

-- 
*****************************************
Oswaldo Hernández
oswaldo (@) soft-com (.) es
*****************************************




More information about the wxpython-users mailing list