🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16046

Re: TextArea Control and Carriage Returns

#16046
From: Tom Heagy
Date: Fri, 09 Apr 1999 00:00
20 lines
1244 bytes
Stupid oversight on my part.  I tried using "\r" and it didn't work.  I just
assumed that "\n" for linefeed wouldn't work either.  ASSUMPTIONS are terrible
things!

Thanks!

-Tom

Gavin wrote:

> What about appending a "\n" before each new string?
>
> Tom Heagy wrote:
>
> > Is there a way for me to embed a carriage return in a TextArea Control?
> > I am trying to append simple strings to a large TextArea control but I
> > want each entry to start on it's own line within the control.  The
> > "append" function simply attaches each new entry to the end of the first
> > line.
> > -Tom
Technical Details
Message-ID: <370E2264.160BFBEE@sciatl.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <370E178B.88BB120E@sciatl.com> <370E1F43.5AF95919@apion-tss.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ac93ee22f6684972
X-Google-Attributes: gidf74b3,public
From: Tom Heagy <tom.heagy@sciatl.com>
Subject: Re: TextArea Control and Carriage Returns
Date: 1999/04/09
Message-ID: <370E2264.160BFBEE@sciatl.com>
X-Deja-AN: 464471176
Content-Transfer-Encoding: 7bit
References: <370E178B.88BB120E@sciatl.com> <370E1F43.5AF95919@apion-tss.com>
To: Gavin <g.cassidy@apion-tss.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language