?
Solved

How do I change a component?

Posted on 2004-11-24
3
Medium Priority
?
140 Views
Last Modified: 2010-04-05
Hi

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.

Thanks

Voodooman

0
Comment
Question by:Voodooman
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
BlackTigerX earned 500 total points
ID: 12668589
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
0
 
LVL 5

Author Comment

by:Voodooman
ID: 12677327
Hi

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

I will take a look at the weekend.

Thanks


Voodooman
0
 
LVL 5

Author Comment

by:Voodooman
ID: 12682183
Hi Black TigerX

Cool!

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.

Voodooman
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Integration Management Part 2
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question