component -> install component ,打开那个PAS文件
这个东西的兼容性不太好

解决方案 »

  1.   

    。安装控件(下载下面的附件): 
    A. Unzip the files: XPMENU.PAS and XPMENU.DCR Into the same directory. 
    B. From Delphi menu, Select File| New: Package. 
    C. Press Add, and browse to add the unit XPMENU.PAS. 
    D. Press Install. 
    E. The component is now installed in a new 'XP' page. 
    F. Save the package. 
    2。使用: 
    像平常一样给窗体添加mainmenu、imagelist控件,并作适当编辑;然后添加XPMenu控件(经过第1步操作,可以看到该控件已经在控件栏的最后一个位置),在XPMenu控件的属性栏里将active设为true,然后就有化腐朽为神奇的功效了,Hoho……