Walter Meester
HoogkarspelNetherlands
General information
Category:
ActiveX controls in 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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only