自己编写的第三方控件,是以.PAS结尾的,我不知道该如何加入到DELPHI中?哪位知道的同志告所我一下好吗?谢谢!!!

解决方案 »

  1.   

    Component->install Component里边第一栏
      

  2.   

    Component-------Install Component...----------Browse(你的控件.PAS)---------OK.
    或者新建包(.DPK),在Contain中加入你的文件,再COMPILE并BUILD就可以了。
      

  3.   

    把你的 .pas文件copy到delphi安装目录的lib文件夹里,然后
    Component->install Component里边第一栏打开你的.pas文件
      

  4.   

    file-new -other-package
    add compile-install-save
      

  5.   

    Component-Install Component-(打开你的控件.PAS)
      

  6.   

    Component-Install Component-(打开你的控件.PAS)
      

  7.   

    Component->Install Component:选Into New Package页,再在Unit file Name项选择你的.pas文件,Package file Name项中输入你要创建的新包名
    OK了!