Ah I wish I had known this before I created a native method to handle
it. haha

Thanks for the info. I was just wondering, are there any major
disadvantages with using the latest svn revisions as opposed to the
latest stable release?

-DLH


On Jun 11, 2:54 pm, Sumit Chandel <[email protected]> wrote:
> Hi D L H,
> I'm guessing the browser you were testing on when you tried this out was
> Firefox 3? There is a known (and fixed) issue for this reported on the Issue
> Tracker. See Issue #2902 (link below). The fix for the issue has been
> committed all will be included in the next release.
>
> Issue #2902:http://code.google.com/p/google-web-toolkit/issues/detail?id=2902
>
> If you're working from the GWT trunk, you can pick up and patch the issue
> with r5398.
>
> Hope that helps,
> -Sumit Chandel
>
> On Mon, Jun 8, 2009 at 7:09 AM, D L H <[email protected]> wrote:
>
>
>
> > hello.
>
> > i'm trying to make a TextBox that will change value when someone
> > scrolls the mouse wheel over it. specifically, my goal is for the
> > number in the text box to increase when i scroll up, and decrease when
> > i scroll down. however, i'm having trouble figuring out the
> > MouseWheelHandler. i simplified my code to just change the value to
> > "UP" or "DOWN", but it just doesn't work. it compiles though. i also
> > tried it with event.preventDefault(), but that didn't seem to have any
> > effect.
>
> > private TextBox valueField = new TextBox();
> > ...
> > ...
> > valueField.addMouseWheelHandler(new MouseWheelHandler() {
> >   public void onMouseWheel(MouseWheelEvent event) {
> >      //event.preventDefault();
> >      if(event.isNorth()) {
> >         valueField.setText("UP");
> >      } else {
> >         valueField.setText("DOWN");
> >      }
> >   }
> > });
--~--~---------~--~----~------------~-------~--~----~
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