Re: XForms: Using fselector for other than files

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 10 Jul 98 17:22:14 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I was wondering if it was possible to use the fselector object to
> display and let the user choose from a list other than files? ..

Basically, not without a lot of kluging that would be difficult to
maintain. You might be able to supplant the XForms function
fl_get_dirlist() with your own but you'd then be unable to use the
fselector for groveling through files.

Why not just use a browser object? I've written my own "tree browser"
to pick directories rather than files and it was pretty easy to
implement. The most complicated part of a browser is arranging the
data structure appropriately (and that's not all that difficult).

spl

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/