I am working on a FoxPro 9, SP1 application - upgrading the GUI in a big way. We use formsets quite a bit as well as stand-alone forms. I am hitting an issue when opening the same form multiple times.
In the previous version, the _vfp.forms() object held the forms in the order they were opened/activated (myform1 and myform2 opened a second time): _vfp.forms(1).name = myform2 _vfp.forms(2).name = myform1 _vfp.forms(3).name = myform3 _vfp.forms(4).name = myform2 _vfp.forms(5).name = myform1 In the current version, the _vfp.forms() object groups the forms by name: _vfp.forms(1).name = myform2 _vfp.forms(2).name = myform2 _vfp.forms(3).name = myform1 _vfp.forms(4).name = myform1 _vfp.forms(5).name = myform3 If I change the names of the forms to be unique so myform1 and myform2 get opened each time with a unique name, the ordering is correct (equal to the previous version). It appears that FoxPro is grouping the forms by name, OR more likely, my code at some point is sending focus to the previous instance of this form before the form is opened a second time. I knew that I was breaking the LisaG rule in at least one place, but removing the code hasn't resolved the issue. I also took a look at the coverage profiler, but I haven't been able to find the culprit yet. Is the ordering of the _vfp.forms only based on the order that the forms are opened or activated? TIA, Kevin O'Shea _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

