Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form wont stay active
Message
De
10/05/2001 17:18:30
 
 
À
10/05/2001 17:16:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00506003
Message ID:
00506012
Vues:
18
>I put myform.visible = .t.
> myform.show()
> read events
>
>The form flashes then goes right back to the main form.?
>
>Simple project with one prg one .vcx with two classes based on forms
>
>The first form is the main form and the second is whatever.
>The first form loads fine with from .prg but when
>I click on a command button to activate the other form with
>
>myform2 = createboject('form2')
>myform2.visible = .t.
>myform2.show()
>read events
>
>
>it just flashes
>and goes back to main form.
>
>Pretty basic I know but just getting started.
>
>thanks

If you already have a READ EVENTS active, adding a second one has no effect. Make the form Modal by doing a myForm.Show(1).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform