How to install a component from .pas file in delphi?

前端 未结 2 1650
北恋
北恋 2020-12-10 08:39

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

RealTimeMarquee.pas
SimpleHTML.pas

But when i tr

相关标签:
2条回答
  • 2020-12-10 09:12

    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

    0 讨论(0)
  • 2020-12-10 09:25

    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.

    0 讨论(0)
提交回复
热议问题