Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Stripping spaces out of text.
Message
De
02/04/1997 11:31:57
 
 
À
02/04/1997 11:20:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026447
Message ID:
00026579
Vues:
34
>Now I need to know how to take out the return character code key from
>thisform.fld.value incase the user hits the return key?
>thanks Ed...

Use STRTRAN(THISFORM.fld.VALUE,chr(13),"") to 'remove' Enter char.
Also, remember that you could check for other functional keys like ESC,TAB ,etc. (see INKEY() article in help). There are a lot of such keys so it's better to use textbox where Value property could contain alphanums only.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform