Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Release not firing
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form Release not firing
Miscellaneous
Thread ID:
00309734
Message ID:
00309734
Views:
52
I have a form with a grid on one of the pages of a pageframe. The grid is populated with records from a child table. There is no special code associated with the grid other than to refresh after a row change.
One of the Menu options is to release this form and launch another form similar to the following:

_screen.activeform.release
do form frmnextform

If I choose the menu option without giving the grid the focus, all works as planned. If I give the grid the focus, the first form is not released until after the second form has loaded. Since the second form uses the same view as the first, the view is released along with the first form. This causes the error 'Alias myview not found'.

I have used the debugger and stepped through the sequence of events. The first example above, the release event fires. The second example, the release event gets called but does not fire.

I am using VFP6.0 with SP3

Any help would be greatly appreciated.

Greg
Nordat Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform