Need help with bug (form control values "lost")
I have a bug that I haven't been able to track down yet. When clicking on the "Close" button on the configuration screen, the application updates global variables for location id, theme, timeouts, etc and then updates the INI file.
The problem is that (3) variables (for theme, http, refresh) are updated with no values. I am using the form controls values to update the global variables, so I am at a lost why some work and some don't.
As a temporary solution, I added a code check to see if the form controls are empty and then update the global variable only if there is a value, but this isn't the best solution since some of those controls get updated.
I've uploaded the latest code (v.19) on the 1st post if anyone can help.
|