I am working on updating a VFP8 application for VFP9. I have run into a discrepancy in behavior between the two versions.
Here is the scenario. I launch a modeless form from a .prg and call read events. From a button on that form I launch a modal menu form for completing certain operations. When a certain button is pressed on that form, I launch another modal form to complete the operation.
In VFP8, when I close the second modal form, focus returns to the first modal form (the operation menu).
In VFP9, when I close the second modal form, focus returns to the original modeless form, which now sits on top of the modal menu form. The modal menu form is still open, however, and then things start to go haywire.
I have no idea why the to two platforms perform differently, and of course there is quite a bit of code going on besides just displaying the forms.
Any suggestions for figuring this one out?
Thanks,
Paul R. Moon
Business Software Solutions