[Gambas-user] Double Click in DateChooser
David Villalobos Cambronero
david_villalobos_c at ...43...
Tue Apr 1 19:47:00 CEST 2008
Ok, Great to know that...
Regards...
David
----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Tuesday, April 1, 2008 10:56:59 AM
Subject: Re: [Gambas-user] Double Click in DateChooser
On mardi 1 avril 2008, David Villalobos Cambronero wrote:
> Hi all,
>
> I try to use the Double Click event in Date Chooser, buy it does not works,
> is it normal? Attached is an example.
>
> Bes regards.
>
> David
>
Yes. DoubleClick is a low level mouse event, and the low level events work
reliably only on basic controls.
DateChooser is a conttol written in Gambas, and is actually a Container. So it
won't see any DoubleClick events.
You must use the DateChooser Activate event.
Every time you want to use DoubleClick, check that you don't have the Activate
event somewhere.
You should only use mouse event directly if you are sure that you need them.
Because you can activate something with the keyboard, not only with the mouse
button. Same remark with popup menus. You must use the Menu event, not one of
the mouse events.
Regards,
--
Benoit Minisini
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
More information about the User
mailing list