realbasic-nug
[Top] [All Lists]

Re: Last item before publishing: file types

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Last item before publishing: file types
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Sat, 31 Jul 2004 22:21:34 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BD31A013 dot 146900%chuckbo at hinkles dot us>
At 7:14 PM -0500 7/31/04, chuck hinkle wrote:

Build Settings:
    Build for Mac OS X and Mac OS 9
    Creator code: clhX
Filetype:
    Name: Dashset
    Mac Creator: Dash
    Mac Type: Dash
    Document icon is set
    Extgension: .gdb

This document is really a Valentina database, in case that enters into it.

I compile the program.
I run it on OS X and create a document. It has the icon that I want.

That surprises me. Since you're setting the Mac Creator of the document to Dash, which doesn't match your application (clhX), then your app shouldn't have anything to say about the document's icon, as far as the Finder is concerned. Whatever app 'Dash' is would determine the icon.

Of course if the 'Dash' app isn't installed on your computer, and nobody else is providing an icon for a 'Dash' type document, then some versions of the Finder might fall back on yours in a pinch.

I copy the file and the Classic app to OS 9.
The icon is just a document icon.

This is what I would expect. Try giving your documents your own creator code instead of some other app's.

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

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