4

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

menjaraz
  • 7,551
  • 4
  • 41
  • 81
Rafik Bari
  • 4,867
  • 18
  • 73
  • 123

2 Answers2

14

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

Community
  • 1
  • 1
PresleyDias
  • 3,657
  • 6
  • 36
  • 62
5

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.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770