Prevent blanking out text in readonly textboxes in a datagrid on a winform.

A datagrid is made by a third party and placed on a winform. Textboxes in that grid are set readonly to display some text. It is found cursor can move in and blank out the text. What event can be added to those textboxes to prevent cursor from moving in and blanking out text displayed in them?  Suppose we can code that in the form load event ? Please advise how.
thuhueAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KwoofCommented:
do you need to make any changes?  You could enable the locked attribute of the control?

Is this the desired functionality of the 3rd party who made the control?
0
thuhueAuthor Commented:
Locked property is not found on that Datagrid. Could something like preventing cursor from entering the cell be done here ?
0
angus_young_acdcCommented:
If it is a 3rd party it depends what event handlers / properties are available.  In the out-of-the-box version you can set the cells to not be c hangable by users.  look for Allow Edit
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

KwoofCommented:
Do you need the special functions of this 3rd party datagrid over a standard datagrid?
0
thuhueAuthor Commented:
Please advise on both.
0
KwoofCommented:
Do you have the documentation on the 3rd party datagrid?  Is it a common commercial one, or a specially developed one?  It is hard to advise about an unknown control!
0
thuhueAuthor Commented:
OK, Question is taken back.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
thuhueAuthor Commented:
Question is taken back
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.