[Gambas-user] How do I use the MouseMove event in an IconView Control
Bill Richman
bill at ...2351...
Thu Jan 21 04:55:28 CET 2010
From the docs, I thought it was implying that the "Tracking" property
was activated on IconView controls. And are you saying this only works
on Gambas 3? The docs at
file:///usr/share/gambas2/help/help/comp/gb+qt/control/_mousemove.html
are supposed to be for Gambas 2.x, aren't they? I'm confused.
Bill Richman - Lincoln, Nebraska
Tilter at windmills, maker of pies in the sky, & curmudgeon
email: bill at ...2350... web: www.geektrap.com
Fabien Bodard wrote:
> it is possible but on gambas3 only by activate the traking property
>
>
> 2010/1/20 Bill Richman <bill at ...2351...>:
>
>> 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
>>
>>
>> ------------------------------------------------------------------------------
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for Conference
>> attendees to learn about information security's most important issues through
>> interactions with peers, luminaries and emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list