jbailey268
Programmer
I would like to know if there is a way to save in a file (or perhaps a memo field) all of the object's properties, .enabled, .visible, .caption .value .displayvalue etc.
Then a user can "Save Preferences" exit the application and when the user goes back in next time; can "Restore Last Preferences" and voila there they are.
Currently I have 100+ objects, and I save various properties to an array, and save the array in a mem file, and save the mem file in a memo field in a table.
ex) in saving...
aObjecs(191)= thisform.bulkframe1.page2.licensetype.value
upon restore the reverse
Thisform.Bulkframe1.page2.licensetype.value=aObjects(191)
I have to port this to another application and it is so arduous to have to handcode and debug roughly 200 lines in the similar fashion .
Is there a better way?
Then a user can "Save Preferences" exit the application and when the user goes back in next time; can "Restore Last Preferences" and voila there they are.
Currently I have 100+ objects, and I save various properties to an array, and save the array in a mem file, and save the mem file in a memo field in a table.
ex) in saving...
aObjecs(191)= thisform.bulkframe1.page2.licensetype.value
upon restore the reverse
Thisform.Bulkframe1.page2.licensetype.value=aObjects(191)
I have to port this to another application and it is so arduous to have to handcode and debug roughly 200 lines in the similar fashion .
Is there a better way?