Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form won't get focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00065923
Message ID:
00065964
Vues:
32
>>I've created a modal form class. When I do the following:
>>
>>loForm = CreateObject("cModalForm")
>>loForm.Visible = .T.
>>loForm = NULL
>>
>>The form open and close immediatly. What am I missing?
>after the visible issue a read events and then clear events in the destroy of the form,
>hopefully that will do it for you.

I don't think this is a good strategy. If there is already a READ EVENTS in effect,
the CLEAR EVENTS will end the program when this form exits. I think it's the
ThisForm.Show(1) which Edward suggested.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform