[Gambas-user] slider/spinbox
Fabien Bodard
gambas.fr at ...626...
Mon Apr 18 09:47:21 CEST 2011
2011/4/18 Shane Powell <shanep at ...2481...>:
> On 18/04/11 17:24, Fabien Bodard wrote:
>> 2011/4/18 Shane Powell<shanep at ...2481...>:
>>> How about a slider and or a spinbox having float values ?
>> for slider the workaround will be to use a *100 factor
>>
>> slider.step = 2
>>
>> slider.maxvalue = 400
>> Slider.MinValue = 200
>>
>>
>> slider.value = 2.22 * 100 'preset value
>>
>> zoom = Slider.value/100
>>
>>>
>>> ------------------------------------------------------------------------------
>>> Benefiting from Server Virtualization: Beyond Initial Workload
>>> Consolidation -- Increasing the use of server virtualization is a top
>>> priority.Virtualization can reduce costs, simplify management, and improve
>>> application availability and disaster protection. Learn more about boosting
>>> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>
>>
>
> Hi fabien your work around is what i was thinking to i just wondered if
> it would be worth while having
> controls with this already ?
This is a question for Benoit :)
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Fabien Bodard
More information about the User
mailing list