Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Is there a way to change the behaviour of dialog_pickfile so that the "file" side of the dialog box only shows the name part of the filename, rather then the whole path? The way it exists now, if you're more than about 1 level deep in the directory structure, you can't see what filename you're selecting. -- +---------------------+------------------------------------- --+-------------+ | Bruce Bowler | He who laughs, lasts | Usual | | 1.207.633.9600 | | Disclaimers | | BBowler@Bigelow.org | Anonymous | Apply | +---------------------+------------------------------------- --+-------------+
Uli Schlegel wrote: > does anyone know, if it is possible to use the dialog_pickfile function > in a modal way? If you are using dialog_pickfile in the context of a larger widget program, then de-sensitize the top-level base of the calling program just before dialog_pickfile is called (see the SENSITIVE keyword for WIDGET_CONTROL). Once a value is returned by dialog_pickfile, re-sensitize the top-level base. Cheers, Liam. -- Liam E. Gumley Space Science and Engineering Center, UW-Madison http://cimss.ssec.wisc.edu/~gumley