dialog_pickfile problem [message #10917] |
Wed, 04 February 1998 00:00  |
bowler
Messages: 7 Registered: February 1998
|
Junior Member |
|
|
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 |
+---------------------+------------------------------------- --+-------------+
|
|
|
Re: dialog_pickfile [message #15911 is a reply to message #10917] |
Fri, 18 June 1999 00:00  |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
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
|
|
|