|
-
Feb 6th, 2000, 05:29 PM
#1
Thread Starter
Addicted Member
I have a DBCombo with a dropdown list and I want to be able to select something from my list and un-select it. I find it works well for selecting am item but how do I blank out the field again if I need to?? Help please I'm sure this is simple but I don't know how.
-
Feb 7th, 2000, 07:07 PM
#2
Addicted Member
How is your code?
Type your code and i try to help
Efrat
-
Feb 7th, 2000, 09:06 PM
#3
Thread Starter
Addicted Member
I am not coding - just using the bound control to populate the data field. My problem is that if I restrict the user typing text (which I need to do as I only want items from the table selected) then I also restrict him from blanking it out!
-
Feb 7th, 2000, 10:03 PM
#4
Frenzied Member
I put a small button next to the dropdown (with the caption of "X" or something). Then in the click event of the button I put
DDComboBox.BoundText=""
this seems to do the trick.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
-
Feb 9th, 2000, 06:02 AM
#5
Addicted Member
I think you can allow user to type into the editbox part of the DBcombo and still enforce restriction using the MatchedWithList property of the combo. That way you can allow user to delete the text entered.
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
|