Preferences

This forum is a working group for community contributors to the LiveCode IDE included in the main LiveCode distribution.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

shaosean
Posts: 874
Joined: Thu Nov 04, 2010 7:53 am

Re: Preferences

Post by shaosean » Thu Jun 13, 2013 11:08 am

version 1 of your preferences file includes the following keys
- WindowRect
- WindowVis

your end user upgrades to version 2 of your software and you introduce new keys, but continue using the same preference file, so you now have
- WindowRect
- WindowVis
- ToolbarVis

because you are their existing v1 preference file, having the default value allows your program to get and set a value without requiring a new preference file to be written.. if this is still too abstract, let me know and i can see about banging out a quick stack to show you..

Post Reply

Return to “IDE Contributors”