[Gambas-user] How do I use the MouseMove event in an IconView Control

Bill Richman bill at ...2351...
Wed Jan 20 06:25:48 CET 2010


I'm trying to figure out why the MouseMove event isn't firing when I'm 
moving around inside an IconView control.  I want to be able to read the 
key of the current item the cursor is hovering over, and it seems like I 
should be able to do this by using IconView_MouseMove and 
IconView.Current.Key, but MouseMove doesn't seem to fire unlessI'm 
holding down a mouse button.  According to the docs:

"By default, this event is not raised if the mouse button is not 
pressed, except on special complex controls like ListView 
<http://gambasdoc.org/help/comp/gb.qt/listview?view> or IconView 
<http://gambasdoc.org/help/comp/gb.qt/iconview?view>, and on DrawingArea 
<http://gambasdoc.org/help/comp/gb.qt/drawingarea?view> whose Tracking 
<http://gambasdoc.org/help/comp/gb.qt/drawingarea/tracking?view> 
property is set."

Can anyone tell me what I'm missing here?  Thanks.

-Bill

-- 
Bill Richman - Lincoln, Nebraska
Tilter at windmills, maker of pies in the sky, & curmudgeon
email: bill at ...2350...  web: www.geektrap.com





More information about the User mailing list