[Gambas-user] Mouse.Inside() bug with collapsed Expander?
Fabien Bodard
gambas.fr at ...626...
Tue Jul 16 16:32:12 CEST 2013
I think Mouse.inside use the screen coords so even if the expended is
collapsed, the dw2 don't move in reallity. So the only thing is that
mouse.inside must test the visibility.
Then on other hand ... Why this user not use _enter and _leave events to
get the current mouse zone ?.
Le 16 juil. 2013 14:32, "Tobias Boege" <taboege at ...626...> a écrit :
> Hi,
>
> a guy at http://gambas-club.de[0] discovered some strange behaviour with
> Mouse.Inside() and two DrawingAreas of which one is inside a collapsed
> Expander.
>
> I know this sounds more specific than useful. Honestly, I haven't dug
> further into it (if it's only with Expanders or only with DrawingAreas or
> someting). I just reproduced the behaviour and made a minimal project.
>
> On the form are two DrawingAreas. One inside an Expander. A Timer fires
> regularly and tells you on the two Labels whether you are inside dwg1 or
> dwg2.
>
> This works very well. Now collapse the Expander and move over dwg1. You'll
> see that Mouse.Inside() reports that you are on dwg1 (which is visually
> correct) and on dwg2, too, which is wrong because it's hidden in the
> Expander and not near the mouse anyways.
>
> Regards,
> Tobi
>
> [0] http://gambas-club.de/viewtopic.php?f=3&t=4560
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> 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