These sound like very viable solutions, unfortunately I haven't grown into OOP yet, and the techniques you're referring to, although I'm getting there.
I do understand some of it, but I don't think I'm mature enough in that area yet. Until then, I'll just disable all of the controls and deal with the ugly grey.
I have one Idea. Just clear all item from the Combobox and assign Only One item that pertains to the current record. and also change combobox.
DropDownStyle to ComboBoxStyle.DropDownList then users may not able to edit anything in the combo. Once in editmode you can get back all items to combobox. But I don know how could I code this. If you get such solution please let me know. I also wanted to get rid off greyish texboxes,checkboxes,combo and radio button when making read only.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.