A question on StyledText

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

A question on StyledText

Postby avier5 » Mon Aug 09, 2004 6:03 am

Hi All,
When I append a new text to the StyledText the scrollbar is left in is upper place and come down only when I press it down.

I want that it will progress down with the added text.

How can I do it?

Thanks,
HBC
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Re: A question on StyledText

Postby Eric Clayberg » Mon Aug 09, 2004 6:08 pm

avier5 wrote:When I append a new text to the StyledText the scrollbar is left in is upper place and come down only when I press it down. I want that it will progress down with the added text. How can I do it?

Have you tried the setTopIndex() method?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest