After several days of complete frustration over why my code
wasn't working I finally realized the problem.
I am using some global common variables to exchange data among
different classes. When I enter a new class module (such as a
dialog) I pick up the global variable current values OK. I make a
change to them, then look at them and they are indeed changed
locally. However they are not changed in other class modules
until I exit the dialog. When I re-enter the dialog, I get the
latest global values which are the response to my original intent.
One target of my global variables is a classless thread which
should be in memory executing at all times.
Does anyone out there know a "work around" so global variables
are changed for all modules when changed locally?
wasn't working I finally realized the problem.
I am using some global common variables to exchange data among
different classes. When I enter a new class module (such as a
dialog) I pick up the global variable current values OK. I make a
change to them, then look at them and they are indeed changed
locally. However they are not changed in other class modules
until I exit the dialog. When I re-enter the dialog, I get the
latest global values which are the response to my original intent.
One target of my global variables is a classless thread which
should be in memory executing at all times.
Does anyone out there know a "work around" so global variables
are changed for all modules when changed locally?