Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release a Form from another one.
Message
De
21/10/2005 16:23:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01061281
Message ID:
01061284
Vues:
11
>HI,
>
>I have 2 forms open on a screen: Form1 and Form2
>I am in Form1 which is the active form.
>Is there a command I can issue in Form1 to release Form2? This is because I want to have Form2 closed prgrammaticaly when the user goes to a certain place on Form1.
>
>Thanks
>Raymond Larche

Sure. If property ThisForm.oSecondForm contains an object reference to the other form, you can issue the command ThisForm.oSecondForm.Release().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform