UserControl Copy Paste not working

  • Thread starter Thread starter ink
  • Start date Start date
I

ink

Hi All,

I have created a user control that has a textbox and a button on it.
For some reason this control will not let me Cut, Copy or Paste into the
textbox.

I load the control at runtime as it makes up a control array.

Is there a property that i need to set?

Thanks,
ink
 
I have got it working buy adding a context menu to the text box and
assigning it short cut keys.

I have also coded the following in the click events

Clipboard.SetText(txtClipboard.SelectedText);

txtClipboard.SelectedText = Clipboard.GetText();
 
Back
Top