realbasic-nug
[Top] [All Lists]

Re: FileType OS X RB2006r2

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: FileType OS X RB2006r2
From: Sven E Olsson <svenerik at xhtmlsoft dot com>
Date: Tue, 25 Apr 2006 12:35:46 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <3CFF6704-76DF-4C95-8B4F-170B162E78BB at xhtmlsoft dot com>

On 25 apr 2006, at 11.35, Sven E Olsson wrote:

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 = "XXXX"
  AllTextType1.MacCreator = "????"
  AllTextType1.Extensions = "html;htm"

I found a workaround, note the MacType. And now the filter works with the extensions...
I hope XXXX is not an valid MacType.
Sven E Olsson



_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>