UserControl Copy Paste not working

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

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();
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top