Programmatically opening a wx.ComboBox

Hi all,
is there a way to programmatically open (=show the popup) of a wx.ComboBox?
Thanks!

(wxPython 2.8.8.0, python 2.5.2, XFCE 4.4.2)

Federico Fanton wrote:

Hi all,
is there a way to programmatically open (=show the popup) of a
wx.ComboBox?
Thanks!

(wxPython 2.8.8.0, python 2.5.2, XFCE 4.4.2)

Hmmm, in Windows, you just send a CB_SHOWDROPDOWN message to the box,
but I don't know if the same thing works on X.

If you need this level of control, I suggest you switch from a
wxComboBox to a wxComboCtrl. There, you have ShowPopup and HidePopup
methods.

ยทยทยท

--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Tim Roberts wrote:

Hmmm, in Windows, you just send a CB_SHOWDROPDOWN message to the box,
but I don't know if the same thing works on X.

If you need this level of control, I suggest you switch from a
wxComboBox to a wxComboCtrl. There, you have ShowPopup and HidePopup
methods.

I see, I feared I'd have to do that :confused:
Thanks for your help :slight_smile: