🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Auto-wrap a TextArea Control?

#18744
From: Nathan Kirkham
Date: Fri, 08 May 1998 00:00
32 lines
1148 bytes
Rich,

Set the scrollbars in the constructor of the textarea.

new TextArea("",10,10,TextArea.SCROLLBARS_NONE);

That should do it.

Nathan

Rich Morey wrote:

> Hello --
>
> I am wondering if there is anyway to get a TextAreaControl to automatically
> wrap text when it reaches the right side. Right now the control
> automatically
> scrolls to the right when the user types.
>
> Thanks
> Rich Morey
> rwmorey@27east.com



--

------------------------------------------
Nathan Kirkham - nathan@result2k.u-net.com
Java Programmer
Result 2000 Plc http://www.result.co.uk
Technical Details
Message-ID: <3552C533.7ABB95B@NOSPAM.result2k.u-net.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6iu96t$u012@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,3244040d6919022f
X-Google-Attributes: gidf74b3,public
From: Nathan Kirkham <nathan@NOSPAM.result2k.u-net.com>
Subject: Re: Auto-wrap a TextArea Control?
Date: 1998/05/08
Message-ID: <3552C533.7ABB95B@NOSPAM.result2k.u-net.com>
X-Deja-AN: 351369697
Content-Transfer-Encoding: 7bit
References: <6iu96t$u012@forums.borland.com>
Content-Type: text/plain; charset=us-ascii
Organization: Result 2000 Plc
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language