Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Stripping spaces out of text.
Message
From
02/04/1997 11:31:57
 
 
To
02/04/1997 11:20:23
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00026447
Message ID:
00026579
Views:
36
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform