getOpenFileName() Problem

new topic     » topic index » view thread      » older message » newer message

Hello All,

The docs for getOpenFileName say:

  filename = getOpenFileName( 
                          theWindow,                  -- parent window\\ 
                          "",  -- no default name LINE 2\\ 
                          {"Text File", "*.TXT"})     -- text files\\ 
                           "All Files", "*.*" } )     -- everything else\\ 
                    

When I run this the folder where the file is located opens and only the text files show.

if I change to:

  filename = getOpenFileName( 
                          theWindow,                  -- parent window 
                          "C:\\",                         -- no default name LINE 2 
                          {"Text File", "*.TXT"})     -- text files 
                           "All Files", "*.*" } )     -- everything else 
                            
    The c: folder opens but all files are shown. None filtered.                        
 
Don Cole
new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu