Hello again! I'm struggling to find out how I can have a Fl_File_Browser that actually selects items when clicked on. I've of course looked in the docs and headers and so far nothing. I read in the Fl_Browser doc/header that the Fl_Browser itself (yes, I don't mean Fl_File_Browser here) does not provide automatic item selection, but other subclasses like Fl_Hold_Browser, Fl_Multi_Browser, and Fl_Select_Browser do. Now, these do not fill the browser with directory items, something Fl_File_Browser does, but item selection isn't automatic (for what reason may I ask ? that makes little sense), something the Fl_Browser also seems to indicate due to lack of mention of the file browser.
So, I looked through the methods, and there is the value() that returns the line index. But, it fails and always return 0, and for that reason select(LINE, VALUE) can't be used either (in case this is supposed to be the way to manually select it). What am I supposed to be doing ? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

