Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form with grid hangs
Message
De
13/03/2003 05:33:49
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Form with grid hangs
Divers
Thread ID:
00765292
Message ID:
00765292
Vues:
56
Hello.

I've got a mainapp with a close event.
This event closes all activeforms.

*******close*********
procedure Close
local llOk
llOk = .T.
do while type("_screen.activeform")="O" and llOk
llOk = _screen.activeform.close()
enddo
if llOk
clear events
endif
endproc
********************

The close event of the forms themself contains this.release.

I've discovered that this works fine for all forms except for those with a grid (espescially when it has the focus) on it. It looks like that llOk never receives .t. from _screen.activeform.close() and stays in the loop.

When I close those forms manually (with the mouse) there are no problems.

I hope very much that anyone can help.

tia, victor
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform