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

If the preference does not already exist in the list of preferences (1) then you will need to add it.

Adding a Preference

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

Enter the value in the default value field.

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.