I tried this to no avail. Could you give me an example of how I could modify my originally posted code
Thanks
DA
----- Austin Ehlers wrote: ----
Also use the += operator. Otherwise you're just overwriting th
previous string
Austi
On Fri, 30 Jan 2004 12:43:37 -0000, "Steve McLellan
[quoted text, click to view] <sjm@fixerlabs.com.NOSPAM> wrote
>Hi
>>Try using \r\n - sounds like you're just getting a carriage return, and no
>a newline
>>Stev
>>"D Steward" <anonymous@discussions.microsoft.com> wrote in messag
>news:A8A5D18E-AE0D-4001-94A4-EF26C32777BB@microsoft.com..
>> I can't seem to add a newline (/n) to get a richtextbox control to displa
>text on successive lines. The text that I type is overwritten. How do
>remedy this
>>>> My example
>>>> richTextBox->Multiline = true
>> richTextBox->Text = S"First line /n"
>> richTextBox->Text = S"Second line"
>>>> Thanks
>>>> DA
Hi,
Try using \r\n - sounds like you're just getting a carriage return, and not
a newline.
Steve
[quoted text, click to view] "D Steward" <anonymous@discussions.microsoft.com> wrote in message
news:A8A5D18E-AE0D-4001-94A4-EF26C32777BB@microsoft.com...
> I can't seem to add a newline (/n) to get a richtextbox control to display
text on successive lines. The text that I type is overwritten. How do I
remedy this?
[quoted text, click to view] >
> My example:
>
> richTextBox->Multiline = true;
> richTextBox->Text = S"First line /n";
> richTextBox->Text = S"Second line";
>
> Thanks,
>
> DAS
Also use the += operator. Otherwise you're just overwriting the
previous string.
Austin
On Fri, 30 Jan 2004 12:43:37 -0000, "Steve McLellan"
[quoted text, click to view] <sjm@fixerlabs.com.NOSPAM> wrote:
>Hi,
>
>Try using \r\n - sounds like you're just getting a carriage return, and not
>a newline.
>
>Steve
>
>"D Steward" <anonymous@discussions.microsoft.com> wrote in message
>news:A8A5D18E-AE0D-4001-94A4-EF26C32777BB@microsoft.com...
>> I can't seem to add a newline (/n) to get a richtextbox control to display
>text on successive lines. The text that I type is overwritten. How do I
>remedy this?
>>
>> My example:
>>
>> richTextBox->Multiline = true;
>> richTextBox->Text = S"First line /n";
>> richTextBox->Text = S"Second line";
>>
>> Thanks,
>>
>> DAS
>
Don't see what you're looking for? Try a search.