Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Special Characters
Message
De
16/03/2004 15:33:47
 
 
À
16/03/2004 15:20:43
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00886756
Message ID:
00886843
Vues:
18
Hi Steven,

I have not read all messages in this thread, but in order to do what I think you want, you should do like this in the keypress event:
if nKeyCode=-6
  NODEFAULT 
  nKeyCode=chr(176)
  DODEFAULT()
endif
>The following code in the KeyPress event of the edit box will not work:
>
>If nKeyCode = -6 Then
>
>This.Value = SubStr(This.Value,1,ThisForm.nSelStart) + Chr(176) + SubStr(This.Value,ThisForm.nSelStart+1,Len(This.Value))
>
>This.selStart = ThisForm.nSelStart + 1
>
>EndIf
>
>The cursor still goes back to place 0.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform