Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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:

Trust the Universe
Posted

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 ;).

Nothing is as illusive as 'the last bug'.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...