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.
It is a VFP problem:
when you set Value,back/forecolor,font.... properties, the SelStart is reset.
two solutions:
a)
STORE control.SelStart to nSelStart
control.SelStart = m.nSelStart+1
b)
KEYBOARD '°'
Fabio