General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
>I cannot get the numeric values in a textbox in a grid to select on entry if instead of tabbing to the textbox, the user uses the mouse. I am sure I have seen the answer to this before, but can't come up with it. Of cource I have selectonentry set to .t.
>
>Thanks in advance to the worlds fastest problem solving community
>
>Fred
This works for me, got it from somewhere:
* Textbox GotFocus
If This.SelectOnEntry
Nodefault
TextBox::GotFocus()
Endif
It has the advantage that on first click, it selects all the text, on the second click, it places the cursor where the user clicked.
Carlos
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only