On Jun 27, 2007, at 8:04 AM, Ed Leafe wrote:
> In practice you will probably never need to use any of this. The
> intended programmatic interface is to use
> self.Application.setUserSetting("mySetting", "someValue") to store
> 'mySetting', and self.Application.getUserSetting("mySetting") to
> retrieve it.
I should also mention the one other thing that you need to set for
preferences to work correctly: the app's BasePrefKey property. This
identifies all preferences as belonging to this app, as opposed to a
different app. For example, if you have a textbox called 'txtName' on
a form named 'CustomerForm', its Value would be stored as [app's
BasePrefKey].CustomerForm.txtName.Value. If you re-used that form in
another app, you'd give that new app its own BasePrefKey, and so when
that same form is run in the new app, it would use [newapp's
BasePrefKey].CustomerForm.txtName.Value as the key to store its
value, making it distinct from the first app.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]