Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON SHUTDOWN causes strange error...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00020073
Message ID:
00020074
Vues:
29
>I have a procedure that is executed when the SHUTDOWN
>event is triggered by clicking on the "X" of the main
>VFP window or choosing Close in it's control box. I issue READ EVENTS right after I DO FORM in my main program. Everything works fine except when I click on the "X" or choose Close in the control box of the main VFP window, I get "Invalid subscript reference." When I ran it interactivly, the READ EVENTS line is highlighted and it doesn't even get to my procedure assigned to OH SHUTDOWN. I'm using 3.0b in 95 and I'm very green with VFP (I know 2.6 like it's nobodies business, but that doesn't mean much anymore!!). Thanks.

You need to clear your READ EVENTS before you try to shutdown VFP. It is much better to clear your environment before trying to exit VFP.

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform