Hi !
I'm working on a WinForms solution in VB.NET. It's been a while since I'm mostly a web developper. So what I need to do is to replicate the behavior of Microsoft Office product for the Cut, Copy, Paste and Undo menus and toolbar. Which meens, I need to enable Cut and Copy when and only when there's some selected text on the Form. The Paste menu have to be enabled only when the is some text in the clipboard.
Do you have any ideay about how to accomplish that ? I probably would have to check some event in the TextBox's to check if some text is selected (MouseUp ?). Then in the Enter event, I would check if there's something in the Clipboard to enabled Paste menu...
If you have any suggestions, samples, etc. I would really appreciate it !
Thanks a lot !