Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EditBox
Message
 
 
À
21/03/2003 10:03:59
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00768567
Message ID:
00768575
Vues:
17
>I am useing an EditBox to enter a drawing title into my table. After the title is input there are extra chractors in the string, two heavey vertical bars. This causes a problem when I need to include this string in SPT. How can I strip these charactors?

Most likely it's the end of line combination CRLF. Try
* Editbox LostFocus
This.Value = CHTRAN(This.Value, CHR(13)+CHR(10), "")
*Or Editbox Keypress
LPARAMETERS nKeyCode, nShiftAltCtrl
IF nKeyCode=13
  NODEFAULT
ENDIF
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform