本帖最后由 deng_biao 于 2014-04-25 18:30:01 编辑

解决方案 »

  1.   

    component---Install component 中添加
      

  2.   

    你要创建可是组件,如果需要句柄只要是从 TWinControl 类继承,不需要句柄就从 TGraphicControl 类继承就行了。
    然后在写一个注册函数 形式如下
    procedure Register;implementationprocedure Register;
    begin
      RegisterComponents('面板组名', [组件类名]);
    end;
      

  3.   

    虽然无满意答案,但还是把贴结了,我做成了pas直接调用,不变成组件了,太麻烦了