难道只是为了在view菜单里的units里显示吗?我不把单元文件Add to project里,直接uses在implementation或interface可以吗?

解决方案 »

  1.   

    Use the Add To Project dialog box to add an existing unit and its associated form to the project. When you add a unit to a project, the product automatically adds that unit to the uses clause of the project file.直接uses在implementation或interface当然也可以,不过要注意路径!
      

  2.   

    这样可以将一大堆没有在一个位置的文件组成一个project,dpr文件里会记录这个工程所用的文件及位置,但是一般一个project中的文件最好在同一个目录。