[Resolved] Is it possible to load a text file into a richtextbox as it is?
Hi guys,
I wish to show a text file content into a text or richtext box control. I did, but it wraps the text. Because there are 200 characters per line. Eventhough I set the Multiline property to TRUE and Scrollbars to BOTH, it wraps the text of the textfile. Could anybody help me?. Pls give source code if. Is there any other way to load the large text file as it is created?.
yours,
Senthil
Re: Is it possible to load a text file into a richtextbox as it is?
for a richtextbox, set the right margin to something like 250000. then its sure not to wrap.
Re: Is it possible to load a text file into a richtextbox as it is?
Are you making the width wide enough to display 200 characters? I think that's the delimiter, as there is no width property. I have a routine that sets the width to that of a printer, and displays the characters at 1/2 the size, so I think that would be the way to do it. Can you use a smaller font?
Re: Is it possible to load a text file into a richtextbox as it is?