How do I change a component?


I have bought a component with source that I want to modify in some simple ways.

I am using Delphi 7.

Can someone show me how to edit the component and run it in the IDE.

As a simple example, if you can add a msgbox ('Hello world...!') to the paint or create event of the component and then walk me through running it in the iDE, that's all I want - I can take care of the actual coding myself.

I am an experienced programmer and I have created a component set when using Delphi 2 - 10 years ago.

I don't want to relearn the whole topic - just to be able to make some simple changes and see them.



Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

if you have the code, you have the units (.pas) files...

when you install a component you have to put it in a package, to modify it you can simply open the .pas files and add the code you want, or you can open the package where you installed that package, and then from there you can open the .pas files and make the changes, recompile the package and you are ready to go

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
VoodoomanAuthor Commented:

Sorry for not replying sooner but you know - work spoils the fun...

I will take a look at the weekend.


VoodoomanAuthor Commented:
Hi Black TigerX


And so simple - much simpler than I remember!

Thank you very much, I have been reading it up and looking on the internet and getting no-where!!!!

I will give you the point and Merry Xmas (if you're a Christian!).

If not - I wish you all the best.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.