Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help in 2.6 migration
Message
From
29/04/2002 17:10:26
 
 
To
29/04/2002 12:58:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00650251
Message ID:
00650619
Views:
20
Thanks again, Gary. I am glad you are also familiar with Codemine.

I have written a migrator program that takes a 2.6 project and creates a new VFP project, generating forms based on Codemine and making a large amount of conversions. A number of tradeoffs had to be made, as you can imagine, but it does a surprinsingly passable job.

This is how I dealt with different issues:
1) Forms are based on my subclass of frmDataManagerFormCustom which already contains navigation, save, list, print buttons, etc.

2) Valids of GETS map to FieldValid method of txtTextboxCustom, etc.

3) The procedures in the cleanup and procedures get made into methods of the form with all references changed accordingly.

4) It was too complicated to convert screen variables into form properties because reference to some of them is made in separate prgs. Not wishing to get into READ compatible formsets, I define those variables in a wrapper program which then calls the form. In order that those variables do not go out of scope, the form is modal. Now I find that when you click the List button, which calls a frmDataListForm based form, the lookup form gets created, but you can't access it because you are sitting in a modal form.

So the immediate question is, do you know of a way of making a pause in the form (so the variables defined in the wrapper program do not go out of scope) which would still allow access to the lookup form?

Thanks a lot.

Alex

>Alex:
>
>OK. The wrapper program calls the modal form. Why do you need to have the wrapper call a modal form? What purpose does the modal form serve in keeping your private variables in scope. You obviously have a reason for this but at the moment, I can't see it.
>
>I have an idea or two; I am just trying to understand your reasoning here before I open my mouth <s>. You're using Codemine, aren't you? Which form types are you using in the current process?
>
>-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform