By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,188 Members | 832 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,188 IT Pros & Developers. It's quick & easy.

How to lock the item in combo box.

P: 50
Hello to all of you guys. I have a problem in the system that i made. How will i going to prevent the deleting of item in the combo box w/out disabling the backspace and delete key in keyboard using ascii code. Is there any way to lock the items in the combo box?
Jan 15 '08 #1
Share this Question
Share on Google+
3 Replies


Dököll
Expert 100+
P: 2,364
Hello to all of you guys. I have a problem in the system that i made. How will i going to prevent the deleting of item in the combo box w/out disabling the backspace and delete key in keyboard using ascii code. Is there any way to lock the items in the combo box?
Hello, bluethunder!
Just a shot in the dark but I do not see why not, we can definitely do it to textboxes .Locked, I believe. Stay tuned bluethunder, someone here may have a better idea...

In a bit!
Jan 15 '08 #2

P: 50
Hello, bluethunder!
Just a shot in the dark but I do not see why not, we can definitely do it to textboxes .Locked, I believe. Stay tuned bluethunder, someone here may have a better idea...

In a bit!
if i used the .locked of the properties of the combo box; the combo box will not drop down its item. That's why i didn't use the properties to lock the item of the combo box because it will not be enable.
Jan 15 '08 #3

lotus18
100+
P: 866
if i used the .locked of the properties of the combo box; the combo box will not drop down its item. That's why i didn't use the properties to lock the item of the combo box because it will not be enable.
Hi

If I got your problem, set the Style (Property) to DropDown List - 2. This is a simple way for preventing the items to be edited. : )


Rey Sean
Jan 15 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.