Listbox manual ADD ??

feurich

Centurion
Joined
Oct 21, 2003
Messages
170
Location
Holland
Is there a way of adding items to a listbox manually.
The only wat I know is by opening a dialogbox and typing the value in, then transfering the value to the listBox1.Items.Add(txtBox.text);

I want is to be able to type in the value directly in to the ListBox Item area.

I think this gives less interface action and makes it more relaxed to work with. I don't like it when to much dialogs have to be opend to get to or insert data into forms.

Feurich :rolleyes:
 
Try a combobox with the dropdownstyle to simple. . It looks just like a regular listbox, but it has a textbox area on the top where you can directly type in a new value.

I've never tried it myself so I dont know what happens when entering values that do/dont exist in the list yet ;).
 
Back
Top