Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single character not being selected in text box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00142509
Message ID:
00142514
Vues:
32
>Hello,
>
>I have a textbox that has K in the format property. I have noticed that if there is only one character in the textbox it will not be selected when the textbox gets focus. If there is more than one character in the box then the text gets selected.
>
>Any ideas?
>
>Thanks,
>
>Paul

I get this behavior too. You can get around it by removing the k format and putting the following in the textbox.gotfocus:
this.selstart = 0
this.sellength = LEN(ALLTRIM(THIS.value))
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform