Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert CRLF into textbox
Message
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00463102
Message ID:
00463230
Vues:
17
>I am placing chars into a textbox one at a time from an MS communications
>control.
>
>private sub MSComm1.oncomm()
> Text1.text=Text1.text + MSComm1.input
>end sub
>
>When chr(13) and chr(10) come in instead of doing a CRLF I get a "bar"
>character indicating a non-displayable character. Why doesn't vb
>just do the carriage return and linefeed move the next line
>down to the next line?


I thought this was because the LF is automatic added to the CR when it comes in.
What you can do avout that is removing the LF part of the string, so only let the CR pass.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform