[comp.windows.open-look] _SLIDER, and _NUMERIC_TEXT Why _only_ ints?

kriso@lombard.dartmouth.edu (Kris Olander) (03/16/91)

Why didn't the makers of the XView toolkit allow
the PANEL_SLIDER and PANEL_NUMERIC_TEXT panel items
to take floating point values?

I suppose it wouldn't be too difficult to 
implement a version of these two panel items that
allowed users to specify something like:

PANEL_VALUE_PRECISION,	TENTH, (or HUNDREDTH,...)
or even 		TENS, (or HUNDREDS, ...) for
that matter.

Im writing an application where a user wants to type
in the price of a bond, or the yield of a bond.  The
only method I can see is to use PANEL_TEXT and then
use various string conversion routines to convert to
the necessary floating point values.


I'm using the O'Reilly XView 1.0 manual, so if I'm 
missing some feature that is in version 2.0 of XView,
please let me know.



-- 
Kris Olander
--------------kris.olander@dartmouth.edu----------------