wxPython, wxcombobox opening

R

Rony Steelandt

Hi,

Does somebody knows a way to automaticely open the list part of a
wxCombobox when it gets the focus ?

tia,

Rony
 
P

Philippe Martin

Hi,

I do not have the answer but am very interested in the issue. I tried this:

l_ev = wx.MouseEvent(wx.wxEVT_LEFT_DOWN)
l_ev.SetEventObject(self.GetCombo())
self.GetEventHandler().ProcessEvent(l_ev)

Which did send the event to the combo (which is in a pannel in my case) ..
but that is apparently not the event that triggers the dropping of the
list.

I posed elsewhere and will forward here any hint.

Philippe
 
P

Philippe Martin

Hi,

From the wxPython list:
Hi,

Which event must I catch to be called when the user clicks on the combo
"button" to make the drop down list to appear ?

No, there isn't a specific event for the opening of the drop-down box.


Regards,

Philippe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,294
Messages
2,571,511
Members
48,203
Latest member
LillianaFr

Latest Threads

Top