|
-
Jul 31st, 2003, 03:27 PM
#1
Thread Starter
Member
Combo Box
I am hoping someone can help me. I have a combo box and am filling the combo box via a databinding. It seems as if that by default the combo box shows the first record in the combo box. I however want the displayed text to be empty and when the user clicks on the combo box they will then see the items in the combo box. Can anyone help? I am puzzled. In .net 2002 I could say combobox.selectedindex = -1 In 2003 this does not work, it still shows the first record in the databinding.
-
Aug 1st, 2003, 03:54 AM
#2
Lively Member
Yes you can 
With insert, you can insert a row and specify the index... so you can insert an empty record on index 0.
cboCourier.Items.Insert(0, "")
HTH
Bjorn
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|