Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Special Characters
Message
From
16/03/2004 14:13:31
 
 
To
16/03/2004 13:12:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00886756
Message ID:
00886816
Views:
11
>Okay, I have got the degree symbol to insert by using a keypress event to append chr(176) to the end of the text when pressed. However, every time I press the function key the cursor goes to the beginning of the string.


To go along with what Fabio has said. There are other properties to consider along with SelStart. There is SelLenght that get's reset to zero if you change SelStart. Also in Windows if I have text selected and type a key it replaces that text. So either you can code for all that or just use the KEYBOARD command. Which is what Fabio said for option B.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform