Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting Forms from VFP6 to VFP9, events firing order

Status
Not open for further replies.

phil22046

Programmer
Sep 12, 2001
154
US
When I converted a project from VFP 6 to VFP 9, some form init events fired in a different sequence. I am observing this behavior in old converted 2.6 forms where the formset init event and the form init event have reversed their firing order. This causes problems because in the form init event I programmatically instantiate forms and other objects that are referenced in the init of the formset. Since they do not yet exist, hence the problem.

I am trying to find a good article to read about this new behavior but an MSDN search didnt provide any good documentation
 
I just with a new formset created in VFP 9. Instantiating it in both VFP 6 and VFP 9, I got the expected order with the form Inits firing before the formset Init.

Sounds like this must be something particular to converted formsets, which have some pretty funky things goning on.

Tamar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top