
Delphi
wangweixaut061
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Delphi access violation
1. 错误信息:Project *.exe raised exception class EAccessViolation with message... 源程序:procedure TForm1.FormCreate(Sender: TObject);begin form2.Show ;end; 原因:一般情况下不能在主窗体创建的时候 show 另一个窗体,因原创 2011-11-17 15:59:57 · 1203 阅读 · 0 评论 -
delphi 之 self (转)
组件有拥有其他组件的性能。一个组件的拥有者是由它的Owner属性指定的。如果一个组件拥有其他组件,则当它被析构时,它负责释放它拥有的组件。通常,窗口拥有在它上面出现的所有组件。如果你在窗口设计时把组件放置在窗口上,窗口将自动成为组件的拥有者。当你在运行期间创建一个组件时,必须向组件的Create构造器传递组件的拥有关系;它被设置为新组件的Owner属性。下面一行语句表示了如何向TB转载 2011-11-01 10:58:09 · 1912 阅读 · 0 评论 -
Delphi 一些基本语法知识总结
Delphi 知识点总结:1)stored,default 关键字修饰的属性与普通属性的区别 The optional stored, default, and nodefault directives are called storage specifiers.They have no effect on program behavior, but control wheth原创 2011-12-01 17:25:57 · 3186 阅读 · 0 评论 -
Delphi 初阶编程注意实现
1. 注意不要造成死循环,例如:function TCustomDAConnection.GetConnected: boolean;begin Result := Connected;// endless loop, Using Connected equals using GetConnected.end;原创 2011-12-01 17:30:10 · 528 阅读 · 0 评论 -
Delphi 和 C/C++ 数据类型对照
Delphi数据类型C/C++ShorInt8位有符号整数charByte8位无符号整数BYTE,unsigned shortSmallInt16位有符号整数shortWord16位无符号整数unsigned shortInteger,LongInt32位有符号整数int,long转载 2012-03-22 15:07:13 · 825 阅读 · 0 评论