|
Pages: [1]
|
 |
|
Author
|
Topic: Request Directory (Read 800 times)
|
|
Edoc
|
On Windows, request-file pops-up the Windows Open File dialog. This is a nice feature, however, request-file does not let a user select only a directory.
I have a rebol utility where I'd like the user to select an existing directory or create a new one. Any suggestions?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
CarlRead
|
The Windows requester (as apposed to the REBOL one) was only added with View 1.2.5 (I think), and so is only in the beta versions.
As the other poster said, you could take a look at request-dir, (which is a version of View' original one if my memory is correct), or you could perhaps write your own that does just what you want and no more. Is it just directories you want to select, or files as well?
|
|
|
|
|
Logged
|
- Carl Read
|
|
|
|
Edoc
|
Although the native Win32 File Open dialog is not cross-platform (obviously), it is a tremendous help to those of us looking to build user-friendly REBOL apps on the Windows platform.
Thanks for your suggestions. I think the best thing would be for RT to enable this through the Windows requester, rather than using a native dialog for one type of file operation and a non-native dialog for similar tasks.
I know they've got a lot on their plate now, so maybe they can add this feature at some point in the future. I'm pretty anxious to see the new VID.
|
|
|
|
|
Logged
|
|
|
|
|
Gregg
|
Historically, the Windows file common dialog hasn't allowed you to select a directory, just files. That's why, in most apps, directory requestors look different. If it looks like the common dialog, that's only because someone went to a *lot* of trouble to make it look and act similar.
I think REBOL needs to have an enhanced set of native common dialogs. What we have today is workable, but they need to be much better IMO. e.g. the color dialog should have slots for custom/predefined colors, etc.
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |
News: 01-09-08 Alpha version of REBOL 3 has been released!
2243 Posts in 587 Topics by 2012 Members
Latest Member: Rsfezgpe
|