开发者

Delphi 2010 Error Insight incorrectly flags "Undeclared Identifier"

开发者 https://www.devze.com 2022-12-19 07:42 出处:网络
In D2010, Error Insight is incorrectl开发者_JAVA技巧y underlining in red types like \"TOpenDialog\" (even though my unit and project\'s uses both include Dialogs).

In D2010, Error Insight is incorrectl开发者_JAVA技巧y underlining in red types like "TOpenDialog" (even though my unit and project's uses both include Dialogs).

Also, in my method TMyFrame.Foo, it fails the same way by flagging a reference to a VCL component in my TMyFrame -- even though Foo and the component are both part of TMyFrame.

SO suggested I read several threads on this subject. One mentions a D2009 fix for this. Is there a D2010 fix?

Other postings have suggested that Error Insight yields too many false alarms and should just be turned off.

Any suggestions?


Having Delphi 2010 with all its updates, and latest version of IDE Fix Pack, I usually don't have such a problem in Delphi 2010.

I had it a few times, which was fixed by restarting the IDE.

0

精彩评论

暂无评论...
验证码 换一张
取 消