我在DELPHI中程序直接使用这个TMenuItem控件是没有问题
为什么会出现这个问题呀>>>???
//========================================================
但是我在另一个程序中加入这个控件后,并编辑几个菜单项后编译就出错
[错误] Main.pas(71): Undeclared identifier: 'TMainMenu'
[错误] Main.pas(72): Undeclared identifier: 'TMenuItem'
[错误] Main.pas(73): Published field 'N2' not a class nor interface type
[错误] Main.pas(74): Published field 'N3' not a class nor interface type
[错误] Main.pas(75): Published field 'N4' not a class nor interface type
[错误] Main.pas(76): Published field 'N5' not a class nor interface type
[错误] Main.pas(77): Published field 'N6' not a class nor interface type
[错误] Main.pas(78): Published field 'N7' not a class nor interface type
[致命错误] ZGXSPICDM.dpr(5): Could not compile used unit 'Main.pas'