Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting data in field automatically
Message
 
À
10/01/1997 13:09:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00017016
Message ID:
00017054
Vues:
72
>>How do I automatically select the data in a field when a user enters the field?
>
>Try putting the letter K into the Format property of the data control (ie. Textbox). Look in help under "Format property" for more info.
>
>If this is not what you are looking for, please give more info.
>
>-Doug-


Try this...

NODEFAULT
TextBox::GotFocus
THIS.SelStart = 0
THIS.SelLength = LEN(ALLTRIM(THIS.Value))

in your text box gotfocus event

HTH

Jon
Jon Paskett

Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform