From: shelarcy <she...@gm...> - 2007-11-08 09:14:47
|
Hi Andrew, On Wed, 07 Nov 2007 21:39:44 +0900, Andrew Butterfield <And...@cs...> wrote: > However when I hit an arrow key, the expression navigation works fine, > but the scrolled window also moves ! > > How do I stop these key events getting to the scrollbars ? > > (I only want to scroll using the mouse.) > > The wxWidgets documents talk about preventing event propagation > using wxEvent::Skip, but I can't find a wxHaskell equivalent of this. wxHaskell has propagateEvent function that is wrapper function of wxEvent::Skip. How about use it? http://wxhaskell.sourceforge.net/doc/Graphics.UI.WX.Events.html#v%3ApropagateEvent Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |