Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem cancelling form in init
Message
De
07/12/2001 09:56:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/12/2001 08:45:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00591072
Message ID:
00591128
Vues:
33
This message has been marked as the solution to the initial question of the thread.
>Cetin,
>I tried it. I added 'read events' at the END of the form's init method (after everything else including 'dodefault()' but when I do that, the form is never instantiated. The form does does not exist as an object and I get the main vfp screen and menu, but no form.
>Tracy

Tracy,
I don't think you'd want to make it modal. Put read events in form.init itself BUT be sure there is also this.show before read events. In form's queryunload put clear events and you're done. In fact if this is a single form app, I wouldn't use a caller :) Form itself could make messages presented to user in case it wouldn't run at all. Or alternatively move form.init checks to caller and never call do form if it should return .f.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform