读书人

在Object Inspector 受看到ADOTable 组

发布时间: 2013-07-01 12:33:04 作者: rapoo

在Object Inspector 中看到ADOTable 组件的Connection属性。而ADOTable组件源代码里为什么没有写?

在Object Inspector 中发布的属性应该全是组件源代码中在Published 部分写下才对。 不过ADOTable的Connection属性没有这样也显示出来了,这个为什么? 需要详细的介绍!您们看它的源代码里(Published)没有connection 属性;
在Object Inspector 受看到ADOTable 组件的Connection属性。而ADOTable组件源代码里为什么没有写
[解决办法]


TADOTable = class(TCustomADODataSet) // 继承自TCustomADODataSet
......

TCustomADODataSet = class(TDataSet, IUnknown, RecordsetEventsVt)
published
property Connection: TADOConnection read GetConnection write SetConnection;
......

读书人网 >.NET

热点推荐