How to make a combo box readonly?
-
How could i make a Combo box readonly(user can not write in the combo box) in design time? How could i make a Combo box readonly(user can not write in the combo box) in run time?
-
How could i make a Combo box readonly(user can not write in the combo box) in design time? How could i make a Combo box readonly(user can not write in the combo box) in run time?
you obviously didnt search/look around CP very hard .. try this http://www.codeproject.com/combobox/readonlycombo.asp[^]
-
you obviously didnt search/look around CP very hard .. try this http://www.codeproject.com/combobox/readonlycombo.asp[^]
Thanks:)
-
How could i make a Combo box readonly(user can not write in the combo box) in design time? How could i make a Combo box readonly(user can not write in the combo box) in run time?
reza matinnejad wrote:
How could i make a Combo box readonly(user can not write in the combo box) in design time?
By using the
WS_DISABLED
style.reza matinnejad wrote:
How could i make a Combo box readonly(user can not write in the combo box) in run time?
By calling
EnableWindow(FALSE)
.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
-
How could i make a Combo box readonly(user can not write in the combo box) in design time? How could i make a Combo box readonly(user can not write in the combo box) in run time?
reza matinnejad wrote:
How could i make a Combo box readonly(user can not write in the combo box) in design time? How could i make a Combo box readonly(user can not write in the combo box) in run time?
use combo list
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you