Listing files
Posted: Wed Jan 11, 2017 7:55 am
I am trying to list files using @uifiledlg but cannot filter the files correctly.
When I use
%file="C:\MyPath\"
!buttonClick=@uifiledlg(%file, "prg", "open")
all .prg files will be listed.
But when I use
%file="C:\MyPath\"
!buttonClick=@uifiledlg(%file, "wf1", "open")
the list contains, not only .wf1 files, but all files in the directory.
Can I restrict the list to contain only .wf1 files?
Best,
Kristian
When I use
%file="C:\MyPath\"
!buttonClick=@uifiledlg(%file, "prg", "open")
all .prg files will be listed.
But when I use
%file="C:\MyPath\"
!buttonClick=@uifiledlg(%file, "wf1", "open")
the list contains, not only .wf1 files, but all files in the directory.
Can I restrict the list to contain only .wf1 files?
Best,
Kristian