P plumage Active member Joined Jul 12, 2004 Messages 38 Programming Experience Beginner Jul 26, 2004 #1 For txt box, i can set it to read only by using the below code, txtCustID.ReadOnly = True but how to set it if it is for comboxbox? anyone can help me..thanks
For txt box, i can set it to read only by using the below code, txtCustID.ReadOnly = True but how to set it if it is for comboxbox? anyone can help me..thanks
L levyuk Well-known member Joined Jun 7, 2004 Messages 313 Location Wales, UK Programming Experience 3-5 Jul 26, 2004 #2 A combobox is already read-only Upvote 0 Downvote
mzim Well-known member Joined Jun 3, 2004 Messages 187 Location Other side of the rock Programming Experience 1-3 Jul 26, 2004 #3 if you want that the combobox cannot inputted just make the properties of combobox dropdownstyle = dropdownlist Upvote 0 Downvote
if you want that the combobox cannot inputted just make the properties of combobox dropdownstyle = dropdownlist
P plumage Active member Joined Jul 12, 2004 Messages 38 Programming Experience Beginner Jul 30, 2004 #4 sorry, i mean how to make the combobox greyout? Upvote 0 Downvote
JuggaloBrotha VB.NET Forum Moderator Staff member Joined Jun 3, 2004 Messages 4,530 Location Lansing, MI; USA Programming Experience 10+ Jul 31, 2004 #5 combobox1.enabled=false Upvote 0 Downvote