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

Attachment: demotristate-0.0.1.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
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

Reply via email to