Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate Form as Modal
Message
De
01/01/1999 16:59:30
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Activate Form as Modal
Divers
Thread ID:
00172105
Message ID:
00172105
Vues:
77
I'm converting from fox windows to VFP and I'm hung up on what must be very simple. Sometimes, I'm easily confused<g>.

I have a small form that I need to activate as Modal, or focus must stay in that form until its closed. I've previously made up the form using the form designer.

If I place this code in the click event of a command button from the parent form: "DO FORM MySmallForm", The form opens as modeless. Placing code in the show event has no effect. Do I need to place code in a different method?

If I place this code in the click event of a command button from the parent form: "MySmallForm.show(1)", I get an error, "object not found". If I use the CREATEOBJECT function I can define a form with code that works, but I'd like to be able to use the form designer. Is there a way to define or recognize my form designer form?
Fruit Grower by day, VFP trainee by night
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform