> Greg Ercolano wrote:
> >     I think when I needed this, I just used a regular Fl_Browser
> >     and Fl_Input field. Any items that didn't match the search
> >     made the non-matching items in the browser 'hidden'.
> >
> >     So in other words, all items were still in the browser at
> >     all times.. you can just hide the ones that don't match,
> >     instead of having to delete them.
> >
> >     When individual items were hidden, the entries that weren't
> >     hidden all grouped together correctly after a redraw.
> >
> >     IIRC, this feature wasn't documented..
>
>     Actually, looks like it *is* documented, and you can just use
>     the public interfaces; Fl_Browser::hide(int n) which will make
>     line "n" invisible, and Fl_Browser::show(int n) which will make
>     it visible again.
>
>     http://fltk.org/documentation.php/doc-1.1/Fl_Browser.html#Fl_Browser.hide
>     http://fltk.org/documentation.php/doc-1.1/Fl_Browser.html#Fl_Browser.show

hi greg,

thank you for this informations. the way this works makes it pretty easy to 
implement what i want! cool. :)

jan
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to