| | |
What ListBox properties do I set to...
Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Dec 2008
Posts: 27
Reputation:
Solved Threads: 2
Here is what I want to accomplish--I want a ListBox exactly like everyone else uses (almost always)! When the user mouse-clicks in the box and enters a keypress, the first item in the dropdown list, with that char as a first char, is selected. The values are restricted to those in the dropdown list (i.e. the user may not enter data directly from the keyboard.)
-Ed
MS Vista Ultimate 64-bit; Visual Studio 2008 & 2010 beta; Visual Basic; Visual C++
Asus P5E3 Deluxe w/ Intel E6850, 8 GB OCZ DDR3 PC3-12800, SAPPHIRE HD3870 GPU
MS Vista Ultimate 64-bit; Visual Studio 2008 & 2010 beta; Visual Basic; Visual C++
Asus P5E3 Deluxe w/ Intel E6850, 8 GB OCZ DDR3 PC3-12800, SAPPHIRE HD3870 GPU
•
•
Join Date: Dec 2008
Posts: 27
Reputation:
Solved Threads: 2
•
•
•
•
Set AutoCompleteSource to ListItems, then set AutoCompleteMode to whichever one you like.
I had played about with various combinations of these but operator error bit me! I am doing file name creation based upon song titles; song titles occasionally have invalid (for file names) characters in them.
I have a Form which offers the user the opportunity to select replacement characters for the forbidden ones. As almost every Item in the ComboBox is a single letter, when I entered a single letter there needed to be no suggestion as I had gotten the entry right! The only multi-character Items are “ (single space)”, “<space>hyphen<space>” and a few other special entries involving the <space> character—all visually confusing without a textual description! Entering a <space> into the ComboBox does indeed bring up the suggestions which are appropriate.
Thanks for helping me stay focused and not give up on this tiny detail!
-Ed
MS Vista Ultimate 64-bit; Visual Studio 2008 & 2010 beta; Visual Basic; Visual C++
Asus P5E3 Deluxe w/ Intel E6850, 8 GB OCZ DDR3 PC3-12800, SAPPHIRE HD3870 GPU
MS Vista Ultimate 64-bit; Visual Studio 2008 & 2010 beta; Visual Basic; Visual C++
Asus P5E3 Deluxe w/ Intel E6850, 8 GB OCZ DDR3 PC3-12800, SAPPHIRE HD3870 GPU
![]() |
Similar Threads
- Tutorial: Understanding ASP classes (ASP)
- Outputting In Listbox.... (VB.NET)
- ctrl-a for select all in listbox (Visual Basic 4 / 5 / 6)
- Cannot set ListFillRange for embedded Listbox (Visual Basic 4 / 5 / 6)
- SQL Data into Textbox or Listbox (C#)
- How to load a filename on a LISTBOX (Visual Basic 4 / 5 / 6)
- Individual coloring of items in listbox (Visual Basic 4 / 5 / 6)
- TListbox multiselect problem (Borland builder) (C)
- Quick directory question (C#)
Other Threads in the VB.NET Forum
- Previous Thread: vb dot net arrays
- Next Thread: Data Adapter Update Command
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2005 2008 access account arithmetic array basic binary bing button buttons center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net dropdownlist excel file-dialog firewall folder ftp google hardcopy image images insert listview login math memory mobile ms navigate net networking opacity output passingparameters peertopeervideostreaming picturebox picturebox1 plugin port print problemwithinstallation project reports" save savedialog searchbox serial server soap sql string table tcp temp text textbox timer toolbox trim update updown upload useraccounts usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio web wpf






