The way I did it on a combobox was to inherit from it, add a readonly property and in SelectedIndexChanged, if Readonly = True, set the SelectedIndex back to the OldIndex value.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 17
Thread: Drop Down List and Enabled=falseThreaded View
|
Click Here to Expand Forum to Full Width |