[Gambas-user] Bug in IconView

frame down under framedownunder at ...626...
Tue Dec 13 15:23:12 CET 2005


Hi Lists,

I've noiced this behaviour in other conrols too. My workaround was to check
for the .selected property. I am a bit confused as why never to use the
dubbleclick event .... why is it there if we are not supposed to use it ?

Thanks

Frame

On 13/12/05, Benoit Minisini <gambas at ...1...> wrote:
>
> 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
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20051213/3b903476/attachment.html>


More information about the User mailing list