>But what I found was really weird. When I have the debugger activate then RUN TO CURSOR, my code performs correctly. When I take out the SET STEP ON line, the code performs incorrectly.
>
>The issue was that the buttons on the previous form were not disabling. With SET STEP ON, I can watch the code go through the disable method and then RUN TO CURSOR shows the buttons disabling properly.
With the debugger you often have different event order and sometimes (depending on debugging inside or outside the vfp window) different form activation sequences. Log form activation/deactivation to a file to see possible differences with and without debugger and/or try some DoEvents.
HTH
thomas
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only