How Can I Specify Default Values For Preferences On A Computer That Has Never Run My Application?
The GLX framework can store default values for preferences. The default value will be used when your application is run on a computer that has never set the preference value before.
Add Preference
![](https://media.screensteps.com/image_assets/assets/000/138/746/original/media_1204001395840.png)
If the preference does not already exist in the list of preferences (1) then you will need to add it.
Adding a Preference
![](https://media.screensteps.com/image_assets/assets/000/138/748/original/media_1204001440977.png)
1) Click on the Add Preference button.
2) Enter the name of the preference.
3) Click OK.
Note: You only need to add preferences that you want to a) enter a default value for and/or b) broadcast a message for when the value is changed.
Assigning a Default Value
![](https://media.screensteps.com/image_assets/assets/000/138/744/original/media_1204001465308.png)
Enter the value in the default value field.
0 Comments
Add your comment