Combo box

tcm54

New member
Joined
Mar 29, 2005
Messages
2
Programming Experience
Beginner
I am trying to accomplish what cmbB.readonly = true accomplishes. When I try to use DropDownStyle is set to DropDownList It filters the cmbB.Text from having anyother values than what are in the combobox indexes.(I cannot have this) When I try to use cmbB.enable = false then the shading creates where the user cannot see the combo box well. Is there any other methods or a way to stop the filtering when the DropDownStyle is set to DropDownList?
Any help is appreciated


Thanks, tcm54
 

tcm54

New member
Joined
Mar 29, 2005
Messages
2
Programming Experience
Beginner
Ok more info the dropdownstyle.dropdownlist is a filter.

How do you create a readonly combo box or can you?
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
You could reset it (if changed) on lostfocus. That would basically make it readonly.

TPM
 
Top Bottom