I have a small application that wraps a TextArea inside a ScrollPanel .
When I create an instance of ScrollPanel and attach a ScrollEventHandler WITHIN OnModuleLoad() - the OnScroll event fires properly.
However, when I create a separate Composite class for the ScrollPanel wrapping TextArea , attach a handler to it - OnScroll DOES NOT start. I see a composite widget on the screen, and compilation errors or runtime errors are not displayed, but still - nothing happens when I scroll.
Any ideas?
source share