已解决问题
delphi的TComponent中定义FOwner: TComponent;
问题补充: delphi中
类TComponent中定义的第一句
TComponent = class(TPersistent, IInterface, IInterfaceComponentReference)
private
FOwner: TComponent;//这个是怎么理解的啊,本人看李维的VCL到了108页就看不下去了,为什么类的定义中就可以定义此类,作用是什么啊
在《Delphi COM深入编程》中第一章的接口中就有一个例子,其中就有个接口有类似的定义,不明白应该怎么理解,有大侠会的指点一下吧.
type
ICompare = interface
['{DDFE0840-E8FB-11D2-9085-0040F6741DE2}']
function CompareWith(ACompare: ICompare; ASortBy: Integer): Integer;
end;
提问者:tomore 提问时间:08-10-20 20:29
其他答案 (1)
0 评论 回答时间: 1224555785
热点问题
跟此问题相关的资源
