devxlogo

ActiveX/OCX objects in Delphi 3

ActiveX/OCX objects in Delphi 3

Question:
I am currently trying to convert three components to ActiveX components. I am doing this through Delphi 3, which I realize some people do not have access to.

I need to be able to enumerate all objects that are contained in the client site into which my objects are placed, then access properties and methods within those objects.

Any code examples or hints as to how to do this would be appreciated!Thanks,Ian.

Answer:
You should be able to get to the Components array of the parent formwith your component. Try it out.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist