Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopping form from loading if .t
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01565352
Message ID:
01565359
Vues:
51
That works great.

Many thanks Naomi

>>Hi
>>
>>I have several calls to a form from other forms, from within the init method of the called form I am checking a database to see if record exists to prevent me from loading up the form.
>>
>>What is the best way of preventing the form to fully load once the form has started its init method. I want the called form to decide wether to load and if not I want to display a messagebox then close the form,
>>
>>I definately want to stop the called form form fully loading form within the called form, not from the calling form,
>>
>>Any help extremley appreciated.
>
>Just return .F. from either Load method or Init method and the form will not instantiate.
Rob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform