▲▼关于Delphi中Cell释放的问题,为什么总是关掉程序的时候出错
主窗体上有一个PageControl1,上面有TabSheet1
在TabSheet1中有一Cell1.
主窗体上中有一按钮Button1,单击事件中这样写
var
Form:TForm ;
pagecontrol:TPageControl ;
begin
Form:=TForm .Create(Self);
Form.Font :=Self.Font ;
pagecontrol:=TPageControl .Create(Form);
pagecontrol .Parent :=Form ;
pagecontrol .Align :=alClient ;
TabSheet1.PageControl :=pagecontrol ;
Form .ShowModal ;
pagecontrol .Free;
Form.Free ;
end;
执行后新建了一模式窗口,form关闭也正常,可在整个程序退出时出错了。请问如何实现解决
debugger exception notification
project project1.exe raised exception class EAccessViolation with message
'access violation at address 6bc41c65 in module 'MFC42.DLL',read of address 0227b6b0,process stopped .use step or run to continue.
在TabSheet1中有一Cell1.
主窗体上中有一按钮Button1,单击事件中这样写
var
Form:TForm ;
pagecontrol:TPageControl ;
begin
Form:=TForm .Create(Self);
Form.Font :=Self.Font ;
pagecontrol:=TPageControl .Create(Form);
pagecontrol .Parent :=Form ;
pagecontrol .Align :=alClient ;
TabSheet1.PageControl :=pagecontrol ;
Form .ShowModal ;
pagecontrol .Free;
Form.Free ;
end;
执行后新建了一模式窗口,form关闭也正常,可在整个程序退出时出错了。请问如何实现解决
debugger exception notification
project project1.exe raised exception class EAccessViolation with message
'access violation at address 6bc41c65 in module 'MFC42.DLL',read of address 0227b6b0,process stopped .use step or run to continue.
...全文
相关推荐
Cell_Delphi.rar_Cell_Delphi_cell_cell delphi_报表_报表 delphi
Cell_Delphi.rar CELL报表 CELL报表 CELL报表 CELL报表 CELL报表
Delphi StringGrid文字居中,Titile字体变大,Cell添加CheckBox
Delphi StringGrid文字居中 Title文字变大,字体颜色改变,选中行颜色的改变 在Cell中添加CheckBox控件 点击实现CheckBox Checked true false
cell-hint-in-dbgrid.zip_Hint_Selected_dbgrid_delphi cell_delphi
How show hint in selected cell in DBGrid component.
baobiao.rar_cell_delphi cell
此源码是Cell组件超级报表模板设计器C#.net源码示例。Cell 组件适用于Windows环境下各种开发工具(如VB, VC, Visual Foxpro, Delphi, C++ Builder, PowerBuilder, .NET)等,是软件开发人员开发优秀报表的完美解决方案。
delphi调用VBA的Find_delphi调用VBA的Find_vba调用delphi_
delphi调用VBA的Find,可以通过这种方法,调用大部分的VBA的函数,例子简单,可拓展性很强


其他
