我新建了Tbutton13,想试验一下它有没有 Tstrings 属性:
TButton13 = class(TButton)
private
FAA: Tstrings;
procedure setAA(const Value: Tstrings);procedure Register;
begin
RegisterComponents('Samples', [TButton13]);
end;{ TButton13 }
constructor TButton13.create(Aowner: Tcomponent);
begin
inherited;
FAA:=Tstringlist.Create;
end;procedure TButton13.setAA(const Value: Tstrings);
begin
if FAA <> value then
FAA := Value;
end;加入时出现下面错误,是怎么回事呀?
[Fatal Error] Could not create output file 'e:\program files\borland\delphi6\Projects\Bpl\dclusr60.bpl'
TButton13 = class(TButton)
private
FAA: Tstrings;
procedure setAA(const Value: Tstrings);procedure Register;
begin
RegisterComponents('Samples', [TButton13]);
end;{ TButton13 }
constructor TButton13.create(Aowner: Tcomponent);
begin
inherited;
FAA:=Tstringlist.Create;
end;procedure TButton13.setAA(const Value: Tstrings);
begin
if FAA <> value then
FAA := Value;
end;加入时出现下面错误,是怎么回事呀?
[Fatal Error] Could not create output file 'e:\program files\borland\delphi6\Projects\Bpl\dclusr60.bpl'
解决方案 »
- 关于定时器回调函数的问题
- datasource.destroy属性是干嘛用的
- 用Delphi7能进行象CAD那样画线吗?
- FastReport难题:为什么显示正常,打印出来时却是重叠在一起的呢?
- 如何判断:当数据库里相关表的数据提取到界面的adoQuery后,在界面上修改了adoQuery部分字段的值
- 三层结构
- 菜鸟的数据库问题
- 文字输入问题
- Delphi中debug模式release模式怎么切换的
- 在delphi中怎么把一个长整型的数设为颜色值?我从其它非delphi控件获得的颜色值是长整型,但delphi的颜色值显然不是用长整型表示,请问这时候我怎样把这个长整型的数作为delphi中控件的背景色。
- 这样的文本文件该怎么写呢?
- TListView中如何让其中的某些Item的字体变粗?
还有,考虑下整个application的运行,这种错误可能是
由于在某个对象没创建之前引用或者,在别的单元非法引用了某些变量或对象