> Here's a half-baked idea.  I'm sure there are issues, but maybe
> it's a start.
>
> Good luck,
> Stan
>
> ...


thanks very much Stan for your effort! I will use this - I just made a few 
changes:
* Changed Fl_Output to Fl_Input so can also type input
* Changed the popup menu position to appear under the input box rather than the 
button (this looks better for me)
* In the Choice() constructor removed accesses to window properties 
(window()->x(), window()->y()) because this access was causing a seg fault. 
Aren't the x,y values from the constructor sufficient to place the Choices() 
anyway?

Also, I saw you inherited from Fl_Double_Window for the Choices(). I haven't 
done this before - what is the advantage of this? For buffering?

thanks again Stan, it's useful to me.
Richard
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to