[wxGTK & wxMSW]: wxComboBox

[wxGTK & wxMSW]: wxComboBox

Post by tomm » Thu, 09 Feb 2006 02:23:01

What I'm trying to do is a "edit box" in which when you type something
it will go against a predefined list and present to the user all the matches

i.e: if I type "Tom" it will bring up a list with "Tom", "Tommy", "Tommy 2" ,
Is this possible to do with wxComboBox or should I look into another
solution ?
I didn't see a single function that would bring up the list in the combobox..
only the window option wxCB_SIMPLE that only seems to work under windows.

so basically, can you in wxComboBox bring up the list from within a EVT_TEXT ?

/ Tommy

To unsubscribe, e-mail: XXXX@XXXXX.COM
For additional commands, e-mail: XXXX@XXXXX.COM

1. [wxMac/wxGTK] Two questions about wxComboBoxes

2. [wxMSW,wxGTK] wxChoice, height of dropdown list


I am using a wxChoice that has quite a few entries. It works fine except
that the drop down list is much higher than what I would like (it isn't
longer than my number of entries though). In Windows there is a nice
scrollbar, and I would like to be able to specify the height of the drop
down list. When using MFC in the past I was able to do this, but I cannot
find a way to do it in wxWidgets. I also tried wxComboBox but the result is
the same.

Is there a way to specify the max height of the wxChoice drop-down list,
independent of the number of contained entries?

Carsten A. Arnholm
N59.776 E10.457

3. wxGTK and wxMSW look and feel

4. wxGTK & wxMSW: The easiest way to get return value from frame

5. wxGTK (linux) works as a charm but extreme flickering in wxMSW (windows)

6. Differences between wxGTK and wxMSW

7. [2.6.1] m_glContext == NULL on wxGTK but good value on wxMSW

8. Re[4]: [wxMSW,wxGTK] wxChoice, height of dropdown list

9. Re[2]: wxGTK and wxMSW look and feel

10. [wxMSW, wxGTK] Rewriting the wxGLCanvas class

11. obvious slower running on wxMac than wxMSW or wxGTK

12. Re[2]: [wxMSW,wxGTK] wxChoice, height of dropdown list

13. wxMemoryDC behaves differently on wxGTK vs. wxMSW

14. [wxGTK & wxMSW 2.6.3] BUG? EVT_TEXT

15. Differences between wxGTK and wxMSW (2.4.2)