应当怎么做?

xhj12077021 2006-08-14 02:01:46
[Error] Unitmain.pas(48): Undeclared identifier: 'menupbingrenform'

在点击菜单激活另一个界面时,出现这样的问题。
语句一: if
menubingrenform.enabled then
menubingrenformclick(sender);

另一种语句:formbingren.showmoadl;

也出现这个问题
第二种语句还出现这样的:[Fatal Error] Projectmain.dpr(5): Could not compile used unit 'Unitmain.pas'

请问怎么解决啊?
...全文
87 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
OO_is_just_P 2006-08-15
  • 打赏
  • 举报
回复
Undeclared identifier: 'menupbingrenform'
明显的就是标识符没有定义,delphi里面使用什么变量之前都要先定义的。
xhj12077021 2006-08-15
  • 打赏
  • 举报
回复
添加了,还是出现同样的错误
wudi_1982 2006-08-14
  • 打赏
  • 举报
回复
添加对'Unitmain.pas的引用,alt+F11

5,928

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧