type
TIn = class;
...TIn=class(TCustomControl)
private
...
protected
...
public
...
end;这样写表示什么意思,type TIn = class;已经声明过了,接下又是继承,什么意思啊
TIn = class;
...TIn=class(TCustomControl)
private
...
protected
...
public
...
end;这样写表示什么意思,type TIn = class;已经声明过了,接下又是继承,什么意思啊
TIn=class(TCustomControl)之前有使用到TIn,所以先声明之,要不然TIn=class(TCustomControl)要放在使用的地方的前面
private
...
protected
...
public
...
end;===============================================说明在这个类之前有用到你最前面的那句话,当然也就先声明一下先继承就说说接下来定义的这个类继承了TCustomControl里面的所有方法和属性