Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Release not firing
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Form Release not firing
Divers
Thread ID:
00309734
Message ID:
00309734
Vues:
53
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
Fil
Voir

Click here to load this message in the networking platform