4
votes

i've downloaded the RealTimeMarquee component for embarcadereo delphi 2010 which comes as a two files

RealTimeMarquee.pas
SimpleHTML.pas

But when i tried to open the file using delphi to compile it, i can't see the green button ( compile / build ) activated.

My question: How to install this component.

thankyou

2
@menjaraz - I don't think this question applies only to a specific Delphi version.Sertac Akyuz
@Sertac Akyuz: You are quite right. Retag done.menjaraz

2 Answers

13
votes

My question: How to install this component.

To install follow the steps below (same steps as Remy Lebeau-answer )

Step #1 . make a new package -

enter image description here

Step #2 . Select New package

enter image description here

Step #3 .

Add the source files RealTimeMarquee.pas,SimpleHTML.pas enter image description here

Step #4 . enter image description here

Step #5 . A)Compile and then install

enter image description here

Step #6 . On successful installation you will get this message. enter image description here

Step #7 . You can save the .dpk file also enter image description here

Step #8 . Use the component from Tool Palatte

enter image description here

5
votes

You cannot compile the files by themselves. You have to add them to a project first. If you want to install them into the IDE's component palette (assuming one or both of them implements a Register() function), you have to create a new "Package" project, add the files to that project, then you can Compile the project and Install the package.