Yes, win2_accountNoX was an effort to produce an alphanumeric
spinner (I couldn't find one in fltk, I guess you could tell me
if there is one).
No spinner for alphanumerics, if I understand you correctly.
Fl_Spinner AFAIK is numeric only.
You can of course make a custom composite widget that derives
from an Fl_Group with two up/down buttons around an Fl_Input
widget,
the up/down buttons invoke a callback that handles cycling the
alphanumerics in the way you want, and you can provide methods
that get/set the value. Fl_Input would both show the value and
also
let someone just go ahead and type it in.
If that sounds useful we can advise, just describe how the
alphanumeric
aspect should work.
It's be best if for this thread if you could reduce the app to
just the FLTK
code, without the non-FLTK stuff to demo the problem. So if
the problem
ist just with the win2 window's widgets, and the menu items
aren't important,
then reduce the test app to just that, so anyone here can
build and run.
It did not display too well as you have noted but this
morning I have re-coded that with
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.