Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion from FPW to VFP9
Message
 
To
05/11/2012 13:11:10
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01556404
Message ID:
01556407
Views:
90
May not be very practical, but you might want to try to put a foundation read after each .spr, and put the read events as the read after you loaded the menu.

You won't have access to vfp screens when a fpw form is open, but I guess that is to be expected.

Good luck :)





>I have a large legacy application written in FPW 2.6 we are trying to migrate it to the VFP9 environment.
>
>We have do decided to do use a hybrid conversion strategy. Run the old code (from the SPRs generated by FPW) and add new functionality using the VFP.
>
>The problem is that the FPW foundation READ required by the FPW code is not allowing the VFP screens to fire their events – essentially the Read Events is being ignored.
>
>The program is structured something like this:
>
>a) Main program calls the menu (main.mpr) followed by a READ VALID()
>b) From the menu – call the SPRs as required – they run – no problem
>c) From the menu - DO FORM VFP_FORM - problem.
> Whenever I click on the screen, the program immediately jumps to the foundation Read’s valid function
>
>I have tried to :
>a) issue a READ EVENTS immediately after the DO FORM command and it is ignored.
>b) Issue a READ EVENTS before the foundation Read – the VFP code works but the SPR code that requires the foundation read fails.
>c)There is no difference between modal screens and non-modal screens.
>
>Any assistance would be greatly appreciated.

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Reply
Map
View

Click here to load this message in the networking platform