Skip to main content

How to change the text of focused component when scrolling?

1 reply [Last post]
Joined: 2009-09-01

I put 20 textarea in a form,each textarea has more than one row.First, I set textarea.setSingleLineItem(true),my question is how can i make the textarea show multiple lines when i scroll to the textarea?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-11-07

Add a focus listener and use Container.replace() to replace the text area instance with a difference instance.