True. I guess I wass also trying to think ahead if there were other controls (eg an editbox) then I wouldn't have to trap in there as well as the lowest level textbox and so on.
>Bruce,
>
>If you put the KeyPress method in your lowest level textbox subclass, it's automatically trapped everywhere. You never have to worry about it. It'll call the RightClick and if there is something to do (ie code in that method) it will execute otherwise nothing happens.
>
***************************
Bruce Gilmour
"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein