[futurebasic] Re: XPreferences

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2003 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Sun, 11 May 2003 19:45:24 -0400
Steve Van Voorst asked:

>OsX application preferences are to be stored in the Preferences folder in the
>Library folder or alternatively using Core Foundation Preferences Services.  
>Does anyone have code which demonstrates how to use either of these methods?


Steve,

Nice to hear from you. Have you tried the new FB^3 functions? They're 
documented in the Reference Manual from Release 6 on and work in OS 
X. They do all the hard  work for you.

Best,

Ken


INCLUDE "Subs Prefs.Incl"

GET  PREFERENCES prefFileName$, prefRecord
PUT  PREFERENCES prefFileName$, prefRecord
KILL PREFERENCES prefFileName$
MENU PREFERENCES menuID,itemID