Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On entry select whole field
Message
De
03/05/2001 10:41:48
 
 
À
03/05/2001 09:49:20
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00502973
Message ID:
00503033
Vues:
25
Better to add that code to the GotFocus() event rather than the click. Then it will only do the full select on the first click. The user will still be allowed to reposition the cursor with a click after selecting the textbox.

Alan

>Tony,
>
>Does setting the SelectOnEntry to .T. take care of this for you? If not, add
>THIS.SetFocus()
>DODEFAULT()
in the Click() of the textbox.
>
>
>>Any simple way to ensure this behavior will always happen?
>>On a text box I am using inputmask = 999,999.99 and format = K, but when droping the cursor (with the mouse) on the field and field value equals to 0 or blank, then it does not select the whole field.
>>Thanks for the responses,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform