Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Contrôles ActiveX en VFP
Hi Gad,
Unfortunately I don't have VFP and the help docs at hand now, but the third parameter in the ADDOBJECT method should allow you to add the ActiveX control at runtime. for example:
THISFORM.AddObject("ImageEdit","OLEControl","WangImage.EditCtrl.1")
Good luck,
Walter,
>Hi Walter,
>Thanks for your answer...
>I have no experience with the ADDOBJECT method.
>I've created a class in a VCX file I use with the ImgEdit.OCX and wrote the following:
>
>> thisform.addobject("Olecontrol1","myclass.kodakImage")
>and I get error that the class definition is not found...
>Can you help on that? is that the way to do it? Or should I call the OLE Object class directely?
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