新学Delphi, 用2007, 不知道为什么,在 Delphi 2007 的 Tool Palette 中看不到 ActiveX 这一页?
有人知道怎么回事吗?

解决方案 »

  1.   

    d2007中添加 ActiveX 不再向 d6,d7一样了,
    它使用 component 菜单下的 import component 来添加,这里你会看到一个选择对话框,但在这之前好像因应该先创建一个包。
    我有些记不清楚了,你从网上搜搜吧.
      

  2.   

    How can I install an external ActiveX control (.OCX file) in Delphi ?Click File > New > Package   
    Save the Package project. 
    Click Component > Import Component
    Select Import ActiveX control. 
    Select ActiveX-control in list or click Add and browse the for file. 
    Fill in component details, like name and palette page. 
    Optionally set unit directory to same location as where you saved the package project.
    Optionally check Generate component wrappers. 
    Select Add unit to Package and Finish.
    Right click on the Package in Project manager to Build and Install package.