edit control mit suggestion list Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Debster
Knows some wx things
Knows some wx things
Posts: 32
Joined: Sat Aug 20, 2005 6:01 pm

edit control mit suggestion list

Post by Debster » Sat Jun 09, 2007 10:17 am

Hello,

I need a control with suggestionlist. Let's think theres an edit control for the name of a city. You type L and under the input field appears a listbox with Liverpool and London. Liverpool is selected. Clicking Return sets the edit control value to Liverpool. You type now 'o' and theres only London in the list. Depending on the style of the control the only remaining entry will take over automatically or you can type a new city which will than added to the list. And please don't tell anything about comboboxes, because they didn't fit the needs.

TIA

clyde729
Super wx Problem Solver
Super wx Problem Solver
Posts: 426
Joined: Mon May 29, 2006 10:50 pm
Location: Jena, Germany

Post by clyde729 » Sat Jun 09, 2007 10:55 am

There are some components out there. Look for wxAutoTextCtrl and ( - forgive me - ) wxAutoComboBox. Search the net or the forum or look here or here
OS: Windows XP Home, Compiler: MingW, Version: wxWidgets 2.8.0, IDE: wx-Devcpp

Debster
Knows some wx things
Knows some wx things
Posts: 32
Joined: Sat Aug 20, 2005 6:01 pm

Post by Debster » Sat Jun 09, 2007 1:46 pm

thanks for the links. And yeah, I forgive you :D

Debster
Knows some wx things
Knows some wx things
Posts: 32
Joined: Sat Aug 20, 2005 6:01 pm

Post by Debster » Mon Nov 30, 2009 11:08 pm

Problem solved with a wxTextCtrl and a Listbox.

Post Reply