procedure TFrmMain.ADOQuery1AfterOpen(DataSet: TDataSet);
begin
if adoquery1.RecordCount <>0 then
begin
toolbutton3.Enabled:=true;
toolbutton4.Enabled:=true;
toolbutton5.Enabled:=true;
toolbutton6.Enabled:=true;
end;单步调试出现一下信息,请问是什么原因?
variable 'self' inaccessable here due to optimization
begin
if adoquery1.RecordCount <>0 then
begin
toolbutton3.Enabled:=true;
toolbutton4.Enabled:=true;
toolbutton5.Enabled:=true;
toolbutton6.Enabled:=true;
end;单步调试出现一下信息,请问是什么原因?
variable 'self' inaccessable here due to optimization
解决方案 »
- TStringlist 重复项问题,请教
- 在已知控件名称的情况下,怎样找到这个控件所在的控件包中?控件包太多,一个个找头疼
- 如何根据文件名来分配文件到各自目录中。。
- 连接远程MS SQL Server2000问题?
- 急~~~~关于delphi的MDIFROM与mainfrom的问题~~~~~
- 请教,Delphi如何截获dos 的输出信息。
- 程序运行后,我想取消memo控件的鼠标右键、键盘的“Ctrl+c”、“Ctrl+v”功能
- 請問高手,哪裡有delphi的XLReport控件下載,不用注冊的那種,謝謝!
- 请问用什么函数可以取得字符串的右边的几个字符或中间的几个字符?我知道左边用strlcopy().
- 本地数据库paradox中关于时间比较的问题
- 请问如何让 dbchart 显示 百分比 啊!在线~
- RX Library 2.75的安装问题。
procedure TFrmMain.ADOQuery1AfterOpen(DataSet: TDataSet);//这里错了
begin
if DataSet.RecordCount <>0 then //这里错了
begin
toolbutton3.Enabled:=true;
toolbutton4.Enabled:=true;
toolbutton5.Enabled:=true;
toolbutton6.Enabled:=true;
end;