Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open and Close
Message
De
06/02/1997 15:02:49
 
 
À
05/02/1997 16:00:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00019399
Message ID:
00019510
Vues:
45
>I have a form Class open with an OptionGroup. In the click event of the optiongroup I use MY2ndForm=CreateObject("classname")
>MY2ndForm.Show()
>The second form opens and then it closes right away.
>I have put Read Events everywhere with no success.
>
>Can someone tell me what I am doing wrong.
>
>Ernest


The variable My2ndForm is scoped to the click event of the OptionGroup. When the click event terminates, the variable is released and the form goes away. Make the second form modal and it should work.

One other thing...Windows standards state that option buttons should not be used for things like opening other windows. This is the purpose of the command button.


Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform