IfYouSaySo
Well-known member
hi,
I haven't looked into this extensively...but I'm trying to implement copy/paste in the main menu. So in the menu handler I need to know what the current selection is. I figured I could just do something like My.Clipboard.SetText(ActiveControl.SelectedText), assuming that the active control is a textbox. The problem is that in my particular app, the text that is selected is not always in the active control. I am wondering if this has anything to do with the fact that all of my textboxes are readonly. Any ideas are welcome and thanks!
I haven't looked into this extensively...but I'm trying to implement copy/paste in the main menu. So in the menu handler I need to know what the current selection is. I figured I could just do something like My.Clipboard.SetText(ActiveControl.SelectedText), assuming that the active control is a textbox. The problem is that in my particular app, the text that is selected is not always in the active control. I am wondering if this has anything to do with the fact that all of my textboxes are readonly. Any ideas are welcome and thanks!