[Gambas-user] Bug in IconView

Benoit Minisini gambas at ...1...
Tue Dec 13 15:16:09 CET 2005


On Tuesday 13 December 2005 14:51, Ulf wrote:
> Hello All,
>
> it looks like I have discuovered a small issue with the Iconview.
>
> Gambas Ver 1.9.2. Qt, Suse 10.0.
>
> It appears that the active area for events of the Iconview Object extends
> into the Scrollbar Area. So if you double click on the vertical scroll bar
> or the up/down arrows you will actually raise the event of double click for
> the active item inside.
>
> Basically the Iconview.ClientW property does not change when a scrollbar is
> added.
>
> I created a small test program to illustrate the issue.
>
> Any suggestions? Bug or stupid user?
>
> Best regards Ulf

This is not a bug, this is by design :-)

*Never* use double-click event to detect a double click on an item of any 
control. Use the Activate event instead.

But the IconView.ClientW should change when a scrollbar is displayed. I will 
try to fix that.

Regards,

-- 
Benoit Minisini





More information about the User mailing list