file selector - suggestion

Michal Szymanski (
Fri, 31 Jan 1997 12:13:28 +0100 (CET)

To subscribers of the xforms list from (Michal Szymanski) :

Hi xformers,

I wonder if other people here would agree on following suggestion
(addressed to TC, of course) regarding the File Selector goodie:

If the last argument to fl_show_fselector() - file name "default" -
matches one of the files in displayed set, that file gets selected in
the browser. And this is nice. I would even more like it, if there was
an option to get file selector automatically scrolled so that the file
is visible in the display. I can think of many apps that are used to
inspect somehow file after file from the given set. As it is now, one
has to manually scroll the browser every time file selector is shown.

To obtain such a behaviour now is not simple, though doable (I've done
it using some global flags and idle handler). And it would be probably
trivial if implemented internally in file selector code.



Michal Szymanski Internet:
Warsaw University Observatory Bitnet: msz@plwauw61.bitnet
Al. Ujazdowskie 4 Voice: 48-22-6294011 ext 23
00-478 Warszawa, POLAND FAX: 48-22-6294967

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: