|
-
Apr 13th, 2006, 06:51 PM
#1
Thread Starter
Member
[RESOLVED] Combo Box
It is only a minor quibble, however how do you make a combo box so that you cant edit the main text. So when the user clicks the main text aswell as the arrow icon the listdrops down.
Hope you can understand what i mean :s
-
Apr 13th, 2006, 06:55 PM
#2
Member
Re: Combo Box
Change the Style to 2 - Dropdown list, instead of 0 - Dropdown Combo
-
Apr 13th, 2006, 07:12 PM
#3
Re: Combo Box
also you will notice if the style is '2' then you cant set the Text property, so the default item will be blank unless you do it like this
VB Code:
Combo1.AddItem "Cars"
Combo1.AddItem "Vans"
Combo1.AddItem "Lorrys"
Combo1.ListIndex = 0 'this sets the selected item to the first in the list instead of blank
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
|