delphi7 工程原来编写都正常的,今天打开工程文件出现error reading form
工程原来编写都正常的,今天设置了myGrid.RowCount:= 4 后DELPHI7就失效了,重启DELPHI7后就出现Error Reading Form的对话框。
error reading form 内容是Error reading myGrid.RowCount:Access violation at address 0540816F in module "EStringGrid50.bpl". Read of address:0000003C.lgnore the error and continue?NOTE:lgnoring the error may cause components to be deleted or property values to be lost。
尝试过将EStringGrid卸载重新安装这个控件,错误依旧。
[解决办法]
感觉好像 myGrid 根本就没创建。试试动态创建 myGrid 如何?
[解决办法]
你新建一个项目, myGrid控件能不能用?
如果能, 就是你原来项目的Form文件损坏.
反之, 控件坏掉了, 想办法清理干净