[Gambas-user] Ideas? New tri-state control

Fabien Bodard gambas.fr at ...626...
Wed Mar 9 09:10:01 CET 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demotristate-0.0.1.tar.gz
Type: application/x-gzip
Size: 14441 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160309/3d385855/attachment.bin>


More information about the User mailing list