"Vinki" <Vinki@xxxxxx> wrote in message
news:580AF5C2-23DC-455F-BD80-7CEEDABB6EA6@xxxxxx
Quote:
> Hello Everyone,
>
> I need to restrict user not to write anythign in the text box. User can
> only copy and paste in the text box. is it possible to do taht? if it is
> How?
I can't say I like the design, but you will want to handle the
TextBox.KeyPress event. Set the KeyPressEventArgs property "Handled" to
true.
--
Mike