Article View: borland.public.jbuilder.java.language
Article #19960Re: Clearing a TextAreaControl?
From: Gary L. Burt
Date: Tue, 18 Nov 1997 00:00
Date: Tue, 18 Nov 1997 00:00
28 lines
1370 bytes
1370 bytes
My experiences up to this point have been with JDK on a Sun, but it appeared
that the number of lines in the TextArea was probably limited by the amount
of
memory available, because I got a huge number of lines before it crashed.
Others never had it crash, but they hadn't written as many lines as I did.
Hope that helps.
Gary
Dallas Harken wrote:
> You can clear the textarea by calling the setText function with an empty
> string, eg. textArea1.setText("");
>
> Sorry, but I don't know the upper limit for the number of lines.
>
> Frank Cohen wrote in message <346D3A36.753B@inclusion.net>...
> >Is there an easy method to clear the text in a TextAreaControl? I'm
> >adding text to the field using the .append() method. There must be an
> >upper limit to the number of lines I can append? Anyone know?
> >
> >Please email me too.
> >
> >-Frank
Technical Details
Message-ID:
<34726064.CD4BBF18@toad.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<346D3A36.753B@inclusion.net> <64sdms$j24@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,3f6b6b0f188ebc4 X-Google-Attributes: gidf74b3,public From: "Gary L. Burt" <glburt@toad.net> Subject: Re: Clearing a TextAreaControl? Date: 1997/11/18 Message-ID: <34726064.CD4BBF18@toad.net> X-Deja-AN: 290636971 References: <346D3A36.753B@inclusion.net> <64sdms$j24@forums.borland.com> Organization: Burt Computer Applications Reply-To: glburt@toad.net Newsgroups: borland.public.jbuilder.java.language