Yes it's a mistake from me ... remove the raise call from the lbl_MouseDown event. It is already raised via the View_MouseDown Sub I call in the lbl event. 
2016-03-09 18:00 GMT+01:00 Gianluigi <bagone...@gmail.com>: > Hello Fabien, > thanks for the nice gift. > I ask you why the Raise in lbl_MouseDown, is an oversight or is right? > I get two results each Click > Regards > Gianluigi 2016-03-09 13:53 GMT+01:00 Fabien Bodard <gambas...@gmail.com>: > 2016-03-09 12:59 GMT+01:00 adamn...@gmail.com <adamn...@gmail.com>: >> On Wed, 9 Mar 2016 09:10:01 +0100 >> Fabien Bodard <gambas...@gmail.com> wrote: >> >>> This is a quick drawn usercontrol... 25 min. >>> >>> You can add three properties to allow user to define the used pictures >>> >>> Regards, >>> >>> Fabien >>> >>> 2016-03-09 8:22 GMT+01:00 Rolf-Werner Eilert <eilert-sprac...@t-online.de>: >>> > Nice idea - but before re-inventing the wheel, you know that there is a >>> > checkbox with tri-state functionality? >>> > >>> > What would be the advantage of your version over the existing one? >>> > >>> > Rolf >>> > >>> > Am 09.03.2016 05:30, schrieb adamn...@gmail.com: >>> >> (We're just having a little think session here) >>> >> >>> >> Looking for the a good example of how to do a "draw it yourself" control. >>> >> >>> >> The control in question represents the value of a tri-state variable >>> >> with the values "Up", "Down" or "Not set" (out reasons are arcane but >>> >> consider something you want to specify a "default sort" for). So it >>> >> would look like a checkbox but instead of tick boxes it would have a >>> >> pair of arrow images and a "null" box. >>> >> >>> >> tia >>> >> bruce >>> >> >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > Transform Data into Opportunity. >>> > Accelerate data analysis in your applications with >>> > Intel Data Analytics Acceleration Library. >>> > Click to learn more. >>> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> > _______________________________________________ >>> > Gambas-user mailing list >>> > Gambas-user@lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> -- >>> Fabien Bodard >> >> Excellent! I thought it would be much more complex. >> thanks Fabien. > > It's gambas :-) > >> >> b >> -- >> B Bruen <adamn...@gnail.com (sort of)> >> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user