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

前端 未结 2 1657
北恋
北恋 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: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.

提交回复
热议问题