|
-
Nov 23rd, 1999, 05:27 PM
#1
Thread Starter
New Member
How do i modify the style 2 combobox text in runtime.
i just want to clear it of by using combo1.text = ""
but an read only error occur... anyway aound this?
this is a style 2 combobox.. used bcos i don't want the user to type into it
-
Nov 23rd, 1999, 05:40 PM
#2
Frenzied Member
Could you add a blank item at the end and just select it as required?
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company
-
Nov 24th, 1999, 01:21 AM
#3
Member
To empty the dropdown list combo box , do like this
ComboBox.ListIndex = -1.
If u want to add new set of items, clear combo box and use the AddItem.
HTH
Joon
-
Nov 24th, 1999, 02:00 AM
#4
You can clear the contents of any style combobox with MyComboBox.Clear.
------------------
Marty
-
Nov 25th, 1999, 10:09 AM
#5
Thread Starter
New Member
Thanks a whole lot... i didn't know -1 value existed at all.. :P haha
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
|