[Gambas-user] Ideas? New tri-state control
Fabien Bodard
gambas.fr at ...626...
Wed Mar 9 19:17:13 CET 2016
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 <bagonergi at ...626...>:
> 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.fr at ...626...>:
> 2016-03-09 12:59 GMT+01:00 adamnt42 at ...626... <adamnt42 at ...626...>:
>> On Wed, 9 Mar 2016 09:10:01 +0100
>> Fabien Bodard <gambas.fr at ...626...> 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-sprachen at ...221...>:
>>> > 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 adamnt42 at ...626...:
>>> >> (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 at 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 <adamnt42 at ...3379... (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 at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard
--
Fabien Bodard
More information about the User
mailing list