|
-
Aug 17th, 2007, 06:58 AM
#1
Thread Starter
Hyperactive Member
combobox
Hi
Hope any1 can help... I have a combobox, and i want the user 2 only be able to select an entry from the list and NOT type in anything... I am assumning there is a combobox property for this???
I couldnt find anywhere that can tell me?...
Soz agian for sucha basic question
-
Aug 17th, 2007, 07:01 AM
#2
Re: combobox
In the KeyPress event, put e.Handled = True
-
Aug 17th, 2007, 08:32 AM
#3
Re: combobox
Set its DropDownStyle property to DropDownList
-
Aug 17th, 2007, 08:39 AM
#4
Re: combobox
 Originally Posted by stanav
Set its DropDownStyle property to DropDownList
One of the zillion nices things about .NET is that when you do this to a .NET combo box, it doesn't remove the ability to use its text property as it did in VB6.
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
|