wxSlider control with floating point values?

Carl Godkin cgodkin at gmail.com
Tue May 1 06:24:37 PDT 2007


Hi,

Back when I did user interfaces in Motif, there was an attribute of the
XmScale object
(a slider) that allowed you to assign a number of decimal places to the
displayed
value to simulate a floating point (though really fixed point) value.  If I
set the
range of the Motif object to 0-100 and XmNdecimalPoints to 2, then the
displayed
value would go between 0 and 1.00 in steps of 0.01.

I don't think wxWidgets has anything like this, even in collections like
wxCode.

Has anyone got a way of doing this?

Thanks,

carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070501/7a3=
217e8/attachment.htm


More information about the wx-users mailing list