10-08-2013 12:45 PM
I have several control arrays that I set the properties for programatically from a file (min, max, label, etc.). If there was a way to make these values persist after they are set I would only have to do this once instead of every time the app runs. This would be helpful as there would be one less file to distribute. Suggestions anyone?
10-09-2013 12:07 AM
In my opinioin you are already using the best option for this kind of tasks, i.e. having a configuration or customization file with which to personalize a general-use program to specific application characteristics.
As an alternative you could consider directly personalizing the UIR file with the appropriate set of properties for the controls, but you will need to distribute and maintain custom UIRs instead of having a universal one.
10-09-2013 06:24 PM
SetCtrlAttribute (pnl,ctrl , ATTR_DFLT_VALUE, ); I believe this may be of interest for only value. For colors, sizes etc, if I need control, will set those programmatically in the beginning of execution in an init(); function if necessary, then assigne those values to variables that I can change thoughout execution as needed.