Page 1 of 1

Add ocx to Delphi 2005

PostPosted: May 5th, 2008, 6:46 am
by sinugovind
Hi,

I want to add an ocx to delphi 2005. The sequence I followed is

I choose

Component - > Import Component - > Import ActiveX Control

I chose the 'Next' where a list of all registered components are listed. I chose my component and selected 'Next' button.

The ocx has a single class. So i did not change ClassName combo
In Palette page I chose Standard
In unit dir name and Search Path, I chose the default and chose Next
I selected the 'Create Unit' radio button and clicked 'Finish'

After doing all this. I cannot se the component in the palette. Could someone help me

PostPosted: May 5th, 2008, 7:55 pm
by Kambiz
Have you added the created unit into a package? Have you installed the package?

PostPosted: May 7th, 2008, 6:04 am
by sinugovind
Thanks for your reply.. yes finally I have worked it out. I had to save it as a type library and then use it