thuhue
asked on
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.
ASKER
Locked property is not found on that Datagrid. Could something like preventing cursor from entering the cell be done here ?
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
Do you need the special functions of this 3rd party datagrid over a standard datagrid?
ASKER
Please advise on both.
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!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Question is taken back
Is this the desired functionality of the 3rd party who made the control?