>Hi Nadya.
>
>>> This seems to work, thanks. I also want to select the whole textbox, when it gotfocus(). I have SelectOnEntry .t. and I also tried to set format to K, but it didn't help. What else can I do? <<
>
>If you want the entire textbox to be selected, even when you click into it with the mouse, try this is the GotFocus of the textbox:
>
>
>Textbox::GotFocus()
>This.SelStart = 0
>The.SelLength = 12
>NODEFAULT
>
>
>Marcia
Instead of nodefault it should be dodefault(). In this case it works.
If it's not broken, fix it until it is.
My Blog