Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form losing focus
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Form losing focus
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00962204
Message ID:
00962204
Vues:
48
I have a Form. In this Form I instantiate a COM component. This component has a Create_Object method to create business and return objects within this component.
loCOM = CreateObject("Server.Class")
loCOM.Create_Object("BusinessAsUsual")
As soon as I use this method my form loses its focus and it doesn't return. If I press Alt-TAB I can see a Windows logo with the name of the Component. If I select that nothing happens but pressing Alt-TAB again doesn't show this component again. Using Alt-Tab I can get focus back on my application (and the form). How can I prevent this form losing its focus or how do I reset it after it is lost?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform