[futurebasic] Re: [FB] [FB3] Preferences Demo

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2002 : Group Archive : Group : All Groups

From: tedd <tedd@...>
Date: Wed, 27 Feb 2002 09:21:33 -0500
>Dear list members,
>
>for those of you who need FB^3 routines that store and
>recall preferences from a dedicated resource file in the
>preferences folder, I just uploaded to the dropbox
>(PreferencesFile 1.0b3.sit) some FB^3 code and a
>toolbox-compiled mini demo app that I ported from a
>appealing C-example provided by
>
>Greg Robins
>"Pref.c" (Copyright by Apple Computer)
>
>The code consists of the preferences core (3 FNs) and an
>appearance dialog that lets you test the functioning of the
>preferences section.
>The demo creates the preferences file "* PF Preferences *"
>in the preferences folder of your startup volume. It
>contains 3 resources: 'Pref', 'alis' and 'STR ' (Find out
>what they do/mean :-))
>(Demo tested under OS 7.5.5 only.)
>
>Comments are welcome!
>
>Best,
>
>Herbie

Herbie:

Thanks for the code. It works under 9.1 very well.

Now, I have to figure out how you did it. It looks like it could be 
used as a another level of security for those wanting to place 
time-out or run limits on demo's. That's my interest.

tedd
-- 
http://sperling.com