[wxPython-users] ComboBox strange behavior? - somewhat resolved

Christian Blouin cblouin at cs.dal.ca
Wed Mar 21 04:07:19 PDT 2007


Josiah,

	Yep, it worked. I still am puzzled as to why this happened, but I
can move on from this glitch in my application! 

	Thanks!

Christian

-----Original Message-----
From: Josiah Carlson [mailto:jcarlson at uci.edu] 
Sent: Wednesday, March 21, 2007 1:36 AM
To: Christian Blouin; wxPython-users at lists.wxwidgets.org
Subject: Re: [wxPython-users] ComboBox strange behavior?


"Christian Blouin" <cblouin at cs.dal.ca> wrote:
> Hi,
>             I have a readonly combobox which contains as element all
> characters from ASCII 27 to 256. I use it to select symbols from a
> specialized font. However, no matter what I do, it seems to "uppercase"
> selections that I make. Here is a transcript from the debug probe:
> 
[snip]

Have you considered setting the selection based on intex?  Since you
know it is all plain ascii, you could use combo.SetSelection(ord(ch)-27)

 - Josiah


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org





More information about the wxpython-users mailing list