I have been using Fg dialog for quite a while and noticed that I don't use the file's details (size,date) and that I have to scroll a lot in the table because it displays only 6.5 files.
I made the attached library for the same use - file and directory browser for the sake of openning or saving a file, or selecting a directory.
The display is by treeview only, with the directories first and then the files, this way you can see a longer list of files after the directory is selected.
It is possible to toggle between sorting by name or by date.
The zip includes the dlls and cs files (yes, this can be merged) and a demo program which also show how to use it.
The last used directory is stored for the next time.
Thanks to Agraham - I learned from his color dialog library how to do it.
Note: I noticed that when using the demo program, second request takes a long time for the dialog to appear. This behaviour is not evidenced in larger size programs, where I get the dialog to appear after 2-4 seconds. I guess its a matter of garbage collection processes.
Edit: - updated to ver 1.1
- updated to ver 1.2 - the icon images are embeded in the code.
- Ver 1.3 enables to define location on screen of the dialog form - Desktop only.
I made the attached library for the same use - file and directory browser for the sake of openning or saving a file, or selecting a directory.
The display is by treeview only, with the directories first and then the files, this way you can see a longer list of files after the directory is selected.
It is possible to toggle between sorting by name or by date.
The zip includes the dlls and cs files (yes, this can be merged) and a demo program which also show how to use it.
The last used directory is stored for the next time.
Thanks to Agraham - I learned from his color dialog library how to do it.
Note: I noticed that when using the demo program, second request takes a long time for the dialog to appear. This behaviour is not evidenced in larger size programs, where I get the dialog to appear after 2-4 seconds. I guess its a matter of garbage collection processes.
Edit: - updated to ver 1.1
- updated to ver 1.2 - the icon images are embeded in the code.
- Ver 1.3 enables to define location on screen of the dialog form - Desktop only.
Attachments
Last edited: