wxComboBox

Hi,

self.ComboBox.SetWindowStyle(wxCB_READONLY);

self. ComboBox.Refresh();

I am getting an error generated by python.exe

It says a log file has been created but I couldn’t
find where.

Any suggestion to make a ComboBox readonly other than
changing the style…

Regards

Thomas

Thomas wrote:

Any suggestion to make a ComboBox readonly other than changing the style..

Well, I don't get a crash but I expect that there isn't a way to switch it to read-only using the built-in read-only abilities. You can probably get real close though by setting some event handlers and not allowing key/char events to get to the control.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!