|
-
Jul 18th, 2010, 08:38 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] How do i make a toolstrip combobox selectable but not editable
Ok i want the user to be able to select one from the combobox but i dont want them to be able to type in there own into the actual combobox, i tried Enabled property but then you can pick one either. And i couldn't find the IsReadOnly property on the ToolStripComboBox, how can i achieve this then? Any help appreciated. Thanks in advance.
-
Jul 18th, 2010, 08:43 PM
#2
Re: How do i make a toolstrip combobox selectable but not editable
Can you not make it from DropDown to DropDownList instead?
-
Jul 18th, 2010, 08:46 PM
#3
Re: How do i make a toolstrip combobox selectable but not editable
In exactly the same way as you do for a regular ComboBox: set its DropDownStyle property to DropDownList. Anything that takes a single member like this can easily be discovered by reading the documentation.
-
Jul 18th, 2010, 09:19 PM
#4
Thread Starter
Fanatic Member
Re: How do i make a toolstrip combobox selectable but not editable
thankyou. And yes im stupid.
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
|