Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I select a text?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00018921
Message ID:
00018950
Vues:
43
>>Dear Visual FoxPro users
>>
>>I want the text in a textbox to be selected when the textbox get the focus, but how do I do it?
>>I have tried:
>>
>>thisform.txtPersonNr.selstart = 0
>>thisform.txtPersonNr.sellength = 10
>>
>>in the GotFocus event, but it didn't worked.
>
>In vfp5, selectonentry works again, like in 2.x fp. In vfp3, see MS KB doc Q135626 for several methods of doing this.

Thanks for the information.
Best regards
Niklas Fjellman

E-mail: niklas.fjellman@adb-kontoret.goteborg.se
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform