Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing a Form During Instantiation?
Message
 
 
À
21/05/2001 10:06:34
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00509430
Message ID:
00509432
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>I have a help screen that is called via ON KEY and depending on the user's response I would like to stop the form from running. The user message is called during the form's Init method, but I can't seem to get the form not to actually appear on screen. I've used ThisForm.Release and Return to no avail. I'm about to simply use a PRG called by the ON KEY to handle the code I have in the Init and call the form depending on the response, but I've been trying to get away from using extraneous PRGs if possible and wanted to find a cleaner method. What would be the best way to handle this? Thanks!
>
>Regards, Renoir

Return .f. from Init. Set Form.visible to false and set it to true, if the condition is met in the form.Init.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform