Yes, design a textbox class with that and use it, that's the simplest way of having that. Simple OOP.
If you don't want that it becomes a bit more cumbersome, actually, though you don't need to replace any textbox. We discussed that not very long ago: using BINDEVENTS.
What you need anyway, is a class that has the rightclick code in it, that becomes the handler of the rightclick events happening in your textboxes. BINDVENT then redirects the event processing from the textboxes that have no code in them to your nes class that has. It can be a custom class, it doesn't need to be a textbox. And the method that then actually has the rightclick code in it doesn't have to be named rightclick, you specify which event of an object triggers which method of the handler.
And, you see, you have to have a class with a method that has the rightclick code in it, anyway, so why not subclass the textbox to a new textbox class with that feature? You don't get around having a class anyway. if you absolutely want to mess with the design of your application you can use the form designer you use already, I assume, and add a method to the form, which means you make the form the eventhandler for all your textboxes and have a form method do the rightclick code. So you can avoid to get into OOP that way, while you already bathe your hands in it with the form designer anyway. And then you still have to write a loop iterating all textboxes to do a Bindevent call for each of them.
You could also simply go a standard way and let the right click start a context menu that has an item for copy. But even without that a user can always do CTRL+A ,CTRL+C to copy the current control's content to the clipboard.
Anyway you do it - with context menu, or with bindevents - you have to do more than just write the rightclick code, and so the textbox with rightclick code is the simplest solution in that respect. You just then need to replace all your textboxes with your new class. The not-so-old thread184-1819758 has a hack to solve that, too, by changing the class of textboxes from textbox to your new class in the scx file. Or append code. But use such hacks with caution...
Chriss