Hi,
I am still checking and testing some simple things that i can't get
to work
In this case I have folder with three files; xxxxx.txt, xxxx.html,
xxxxx.xml
And I want only the html file in the open dialog.
dim AllTextType1 as new FileType
AllTextType1.Name = "HTML/TEXT"
AllTextType1.MacType = "TEXT"
AllTextType1.MacCreator = "????"
AllTextType1.Extensions = "html"
and then
dlg.Filter = AllTextType1
If the file have the MacType "TEXT" then it is showing all extensions
(Wrong)
If there is no MacType in the file only the html file is displayed
(Correct)
That means this 'Filter' it is NOT useful, because some files have an
MacType and some not.
The html file created by TextEdit have no MacType....
Workaround: Remove the MacType in all the files before open the
Dialogbox..
Some that get the filter function to work in an OpenDialog box?
Regards,
Sven E
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>