Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement