How can I restrict the automatic scrolling with given height and width? [message #158040] |
Mon, 15 November 2004 07:45  |
Eclipse User |
|
|
|
Originally posted by: justinaruja.isletsystems.com
Hello All,
I have implemented automatic scrolling using
ViewportAutoexposeHelper class. It is working fine, but I don't want to
scroll beyond some point.
1) How can I implement it.
Also during automatic scrolling, the flowLayout with isHorizontal false
not working properly
Please advice
Thanks in advance
Justin
|
|
|
Re: How can I restrict the automatic scrolling with given height and width? [message #158268 is a reply to message #158040] |
Wed, 17 November 2004 03:52   |
Eclipse User |
|
|
|
1) Override ViewportAutoExposeHelper's step() method, cache the total
scrolled distance, and don't do anything once you've scrolled past a certain
distance.
2) What are the symptoms of "not working properly"? Scrolling
(auto-scrolling no less) doesn't affect layout.
"Justin D'aruja" <justinaruja@isletsystems.com> wrote in message
news:cn9mr5$v50$1@eclipse.org...
> Hello All,
>
> I have implemented automatic scrolling using
> ViewportAutoexposeHelper class. It is working fine, but I don't want to
> scroll beyond some point.
>
> 1) How can I implement it.
>
> Also during automatic scrolling, the flowLayout with isHorizontal false
> not working properly
>
> Please advice
>
> Thanks in advance
>
> Justin
|
|
|
|
Powered by
FUDForum. Page generated in 0.05056 seconds