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:
00463295
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?

Have you set the MultiLine property to True?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform