Migration Guide : 8. Upgrading Applications with the PropertyChanger Utility : Modifying Default w7styler Settings : Customize Default Settings
 
Share this page                  
Customize Default Settings
If you choose to modify these settings, apply your customization in one of the following places:
The stylesheet itself
The windows7style userclass, which contains the translation methods required for certain settings
The SetW7Stylesheet or one of the userclass methods that assist it (these convert a "blank" OpenROAD frame template to the w7style frame template)
For instructions, see the appropriate procedure, following.
Customize the stylesheet itself
1. Make a copy of the w7style frame template within the PropertyChanger.
2. Open the Stylesheet Editor for your frame template (click Tools, Stylesheet).
3. Select the field style you want to customize and use the View or Appearance options to make the required changes to it.
4. Click Apply Changes, specifying your frame template instead of the default w7style frame template.
5. Save your frame template.
Customize the windows7style userclass
1. Make a backup copy of the userclass so that it can be restored in the future, if necessary.
2. Examine the RestyleField method to find the appropriate place to make your change. This typically is in the code section labeled "Apply any other special settings the standard mechanism cannot handle."
3. Insert your code either at the end of the relevant fieldtype case, in a new case specific to that fieldtype, or in the "default" case.
If nowhere in the RestyleField method seems appropriate to make your change, examine the RestyleFrame method to see if your change belongs there.
Customize the SetW7Stylesheet or one of the userclass methods that assist it
Important!  If you find that this approach is necessary, we strongly recommend that you contact Actian Support Services for assistance with this (http://supportservices.actian.com).