On Friday, October 29, 2010 02:49:36 pm Paul McNett wrote:
> I've only tested on Mac so far, but I saw oddities when dealing with floats
> as you are using for Min, Max, and Increment. When I changed those to
> Decimal, everything seemed to work on Mac.
>
> These oddities were seen back in r6012 of over a month ago. I didn't test
> further back than that.
>
> So try adding 'from decimal import Decimal' at the top, and changing your
> spinner construction to:
>
> spin = dabo.ui.dSpinner(self, DataSource='test', DataField='testnum',
> Width=150, Max=Decimal("999.00"), Min=Decimal("0.0"),
> Increment=Decimal("1.00"))
>
> Let us know if it works now. If so, we have a problem comparing decimal to
> float or something.
>
> Paul
These code changes allow the mouse to increment on Linux :-) Looks like tabs
work too.
Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]