F
foolsbar
Hi,
Does anyone know how I can go about the following? I want to write a
custom control that will probably extend from the textbox control that
enables the user to insert some pre-defined fields into the text
whenever they right-click at the selected point. I know you can
determine the co-ordinates of a DataGridView using the HitTestInfo
method, but is there a similar method for the textbox control?
I would like it so that the field is somehow "protected" - i.e. the
user can't edit the information within the field, they can only delete
the field. Does that make sense?
If there are any articles, code sources etc that I can be directed to,
it would be much appreciated.
Many thanks
Andy
Does anyone know how I can go about the following? I want to write a
custom control that will probably extend from the textbox control that
enables the user to insert some pre-defined fields into the text
whenever they right-click at the selected point. I know you can
determine the co-ordinates of a DataGridView using the HitTestInfo
method, but is there a similar method for the textbox control?
I would like it so that the field is somehow "protected" - i.e. the
user can't edit the information within the field, they can only delete
the field. Does that make sense?
If there are any articles, code sources etc that I can be directed to,
it would be much appreciated.
Many thanks
Andy