FLTK logo

Re: [fltk.general] Search widget

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Search widget Albrecht Schlosser Sep 09, 2020  
 
On 9/9/20 3:19 PM holm.h...@gmail.com wrote:

I have a long list, and want to select one items. I would like to type in a text in a Fl_Input, when the text match a small number (~10) items I want the a window to pop up and the user can select one of the matching entries.
Easier for the user, and typos will be eliminated.

Do any of you have written such a widget earlier ?

I don't have such a widget, but I think that something like Fl_Choice would be a good starting point to derive your own widget from. You could create/edit/deactivate the choices depending on the input value. But that's only a thought, maybe someone has a better idea or example.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/25672da3-3b6b-0a51-8e0d-72f0412f1ac6%40online.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.