Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This can't be impossible to do
Message
De
30/03/2002 20:39:02
 
 
À
30/03/2002 17:53:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00639169
Message ID:
00639230
Vues:
24
Hi Cetin,

I inserted your code and ran my simple test program with the with the show(2) line commented and without.

In on shutdown proc, I iterate through forms collection, writing names of active forms to a file, run the release code, and iterate through forms collection again if exists. When all forms are modeless it works as expected, closing all froms and shuts down. When there is a modal form on top,
WIth SHOW(2) method commented out:
Started on shutdown procedure
Forms collection 
_screen.forms(1) = TEST2modal
_screen.forms(2) = Form1
End of Forms collection 

_screen.forms(1) = TEST2modal did not release
_screen.forms(2) = Form1 did not release
Finished shutdown procedure
Executing SHOW(2)to make nonmodal
Started on shutdown procedure
Forms collection 
_screen.forms(1) = TEST2modal
_screen.forms(2) = Form1
End of Forms collection 

_screen.forms(1) = Form1 did not release
Finished shutdown procedure
In both cases after the form release code "clear all" errors with Cannot clear current object in use. Same as before. Also this does not close messagebox or browse if on top.

I had already tried a variation of this with same result.

Any other ideas?

Thank you

Elmer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform