How to put icons on other files (still problem)

Keith DeLong delong at redcort.com
Sat May 15 21:01:47 CDT 2004


It's always a bit unsettling to realize I overlooked a simple feature in
something I spend so much time with. Sort of like suddenly noticing your
wife has blue eyes after 20 years of marriage ;-)

Thanks for the tip Jon!

Keith
 
>> I've never been able to change the file type for my V4RB files. I live with
>> just changing the extensions and the creator. It is sufficient, if not
>> perfect.
>> 
> 
> You shouldn't live with it. Here's how I do it:
> 
>  //f = a folderItem, which will be my database
>  if f <> nil then
> 
>    tempDataBase = new MyDataBase
>    tempDataBase.Creator = "MYCR"       // make creator
> 
>    result = tempDataBase.Create(f, 1, 2 * 1024 )
> 
>    f.MacType = "MYFT" //set file type
> ...
>   end if
> 
> Jon
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
> 



More information about the Valentina mailing list