>Hi Barbara.
>
>>> In order to get this to work properly with a mouse click, I have the following code in the GotFocus method of my textbox class:
>
>if this.SelectOnEntry
> Dodefault()
>endif
>
<<
>
>Which also produces some interesting behavior if you happen to have code in the Valid method of the textbox since this causes the Valid to fire when the control gets focus ;-)
>
But it's better than the alternative, which is to call SetFocus(). That, of course, causes problems if the textbox is part of a form called from a valid. Do you know of a better solution?