I dont want to do that because ti disables browsing through my Windows form.
For Ex, if I have a control with a scrollbar , making enabling to true makes
the scrollbar also disbled and the user cnat browse thru the data.
I want the user to browse thru the data, but still cant modify it.
There is no general solution to do that. Some controls support a 'ReadOnly'
property, but this is only the case for a small subset of all Windows Forms
controls. Other controls like the listbox control can be extended to
provide a 'ReadOnly' property with according behavior.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.