There is a drop-in, cross-platform preferences storage facility in
UTool that uses a plain text file format:

  http://ljensen.com/utool

You can also search rbgarage.com and rbdeveloper.com, and/or Google
for "realbasic preferences", some of which use other formats, such as
a .plist on Mac or the Registry on Windows, or a folder hierarchy on
either platform.

Something to keep in mind when coding any preference facility is that
the user interface or preferences is (or should be) separate from the
storage. There are plenty of things like document window positions
that can be stored as preferences but that aren't adjusted within the
Preferences dialog. Also, some preference dialogs are modal and others
are modeless, depending on the needs of the application (and in some
cases the laziness of the programmer). So while there are plenty of
generic preference storage mechanisms out there, you're more or less
on your own for the UI.

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

Reply via email to