Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behaviour from RightClick()
Message
De
10/07/2002 07:07:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00676977
Message ID:
00676989
Vues:
14
Thanks Jim, I was checking for a CHR(2)!

Kev

>Kevin,
>
>The box you see is a non-printable character, probably a CR or LF (CHR(13), CHR(10) respectively). This character is most likely being appended to the string by the spell checking routine you are calling. You can fix this by trying this change;
>
>
>
>* The following line removes any CR and/or LF from the string
>gcText = StrTran(STRTRAN(gcText,CHR(10),""),CHR(13),"")
>
>IF this.Enabled AND !this.ReadOnly
>  IF this.SelLength > 0
>    this.SelText = gcText
>  ELSE
>    this.Value = gcText
>  ENDIF
>ENDIF
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform