Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Applets and the fly likes TextArea scrollbar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "TextArea scrollbar" Watch "TextArea scrollbar" New topic
Author

TextArea scrollbar

Robert Stewart
Greenhorn

Joined: Aug 02, 2001
Posts: 5
Is there a way to enable the vertical scrollbar of a text area while leaving the text area itself disabled? In other words, a user can not enter text but can scroll through the text. Anybody know? Thanks!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17146
    
  27

Do you mean that there's text in the area and you want to be able to scroll it without it being editable? Just set the "editable" property of the text area false.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TextArea scrollbar
 
jQuery in Action, 3rd edition