file selector - suggestion

Michal Szymanski (msz@sirius.astrouw.edu.pl)
Fri, 31 Jan 1997 12:13:28 +0100 (CET)

To subscribers of the xforms list from msz@sirius.astrouw.edu.pl (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.

regards,

Michal.

****************************************************************************
Michal Szymanski Internet: msz@sirius.astrouw.edu.pl
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
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/xforms-archive/