View previous topic :: View next topic |
Author |
Message |
filip Valued Contributor
Joined: 07 Aug 2004 Posts: 340
|
Posted: Tue Nov 25, 2008 10:48 am Post subject: Multi @filedlg for extensions |
|
|
I like to use one option that show only this files...
Code: |
@filedlg("All files *.*|*.*|Text (*.doc,*.txt,*.rtf)|*.doc,*.txt,*.rtf|",Select File...,,MULTI) |
This line do not show any of files if used... |
|
Back to top |
|
|
DaveR Valued Contributor
Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Tue Nov 25, 2008 12:27 pm Post subject: |
|
|
The help file is not very clear. But this is what you need to be able to see txt files, or rtf files, or doc files, or all files:
Code: | %f = @filedlg("All files (*.*)|*.*|Text file (*.txt)|*.txt|Rtf file (*.rtf)|*.rtf|Doc file (*.doc)|*.doc",Select File,,MULTI) |
If you are trying to be able to see doc, txt and rtf files all at the same time - without seeing any other file types - then I don't think you can do that. _________________ cheers
Dave |
|
Back to top |
|
|
PGWARE Web Host
Joined: 29 Dec 2001 Posts: 1562
|
Posted: Wed Nov 26, 2008 2:26 pm Post subject: |
|
|
Use ; instead of , between file types; you will then be able to view only those types inside the file dialog all at the same time:
Code: |
@filedlg("All files (*.*)|*.*|Text (*.doc;*.txt;*.rtf)|*.doc;*.txt;*.rtf",Select File...,,MULTI)
|
|
|
Back to top |
|
|
filip Valued Contributor
Joined: 07 Aug 2004 Posts: 340
|
|
Back to top |
|
|
|