Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Significant Trailing Spaces in controls
Message
 
 
To
02/08/2007 11:55:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01245320
Message ID:
01245524
Views:
23
>>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform