[REBOL] Re: File Save Dialog?
From: jasonic:panix at: 6-Dec-2001 15:33
> >>> help request-file
> >It's in Rebol/View as a standard function.
>
> No wonder I could not find it, would never to think to look *there* . :-(
>
> Can you point me to a sample that uses it?
Try this at the console, and then in any script:
>> file: request-file
== [%/C/rebol/view/bay.jpg] ;or whatever
the refinements are useful
>> file: request-file/keep/filter ".png"
== [%/C/rebol/view/buddha.png]
With /keep the next time you call it, the same file will be already
highlighted. Nice.
I don't know how to make the /title option work.
Can anyone show me an example please?
One gripe/wish I have is that REBOL/View does not allow/include default
double-clicking options on file names or buttons. Anyone know how to do this
for request-file?
While you are at it, check out the default REBOL/View request-color too.
Some inmproved version are around too..
./Jason