You can check for the presence of scrollbar / scroll event inside the OnResize method of your Panel. When the layout is resized OnResize method is called.

~Ashwin

On Wednesday 07 December 2011 03:38:13 PM IST, Ed wrote:
I don't think this is possible.
See the Event class for all events.
Maybe the Event.ONSCROLL event is also thrown when the scroll bar is
hidden/shown. Test it.

You could do it yourself: a timers that will check every X ms if the
scrollbar is shown and throw an event if it changed.

- Ed

On Dec 7, 10:21 am, Genesis Simpleman<[email protected]>  wrote:
Hi,
I need some how to know when the scrollbar is visible or not in the
scroll panel.
I need to get an event when scrollbar is visible or hidden (so i wont
need to check it in several places).
Is there a way to do it ?



--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to