Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine Significant Trailing Spaces in controls
Message
 
 
À
02/08/2007 11:55:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01245320
Message ID:
01245524
Vues:
24
>>How do you handle END key?
>
>Now it's a while since I used trick, but Iseem to remember that I had something like this in Keypress:
>if nKeyCode=6
>  This.selstart=at(this.value,chr(176))
>endif
>
>BTW, I now see an ever better-looking solution. Some fonts show chr(255) as a blank, meaning that your users will not notice any visible difference at all. So chr(176) can be replaced with chr(255) in my sample.

Wouldn't SHIFT+END, DEL breake it?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform