Re: Manually fire a mouseout event?

2010-09-15 Thread Bernmeister
Was wondering if you could do a little test for me please. I've found that if I fire an event such as ChangeEvent.fireNativeEvent( Document.get().createChangeEvent(), myListBox ); the event fires, but if I have any code immediately after, that code does NOT get executed. For example if I have

Re: Manually fire a mouseout event?

2010-08-28 Thread darkflame
ent, yourWidget); > > 2010/8/27 darkflame > > > > > > > How would I manually fire a mouseout event? > > > I've tried a few things, but I'm clearly not hitting the mark; > > > //closeIcon.fireEvent(GwtEvent); > > >

Re: Manually fire a mouseout event?

2010-08-27 Thread Gal Dolber
NativeEvent nativeEvent = Document.get().createMouseOutEvent(detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget); MouseOutEvent.fireNativeEvent(nativeEvent, yourWidget); 2010/8/27 darkflame > How would I manually fire a mouseout ev

Manually fire a mouseout event?

2010-08-27 Thread darkflame
How would I manually fire a mouseout event? I've tried a few things, but I'm clearly not hitting the mark; //closeIcon.fireEvent(GwtEvent); //DomEvent.fireNativeEvent( MouseOutEvent.getType(), (HasHandlers)closeIcon); //MouseOutEvent.fireNativeEvent(nativeEvent, closeIcon); None of