Information générale
Catégorie:
Contrôles ActiveX en VFP
When I got this problem I was trying to add the object from within a button click method - my code was similar to yours & had the effect of trying to add the object to the button, rather than the parent form.
Using the AddObject for the form cured the problem.
e.g. MyForm.AddObject( "okcal", "thecal" )
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement