Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Form Release not firing
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement