Because COM does not know how to marshal the TCollection type.

If you build a TCollection that supports interfaces etc for it members, then
you could deal with it.
Myles.


> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, September 04, 2000 9:42 PM
> To:   Multiple recipients of list delphi
> Subject:      [DUG]:  Components to OCX
> 
> Hi all.
> 
> I have a component that I have converted to an OCX.
> 
> Unfortunitly, it has an Items propery which its read and write bits are of
> type Collection.
> 
> When I export the control to an OCX, this particular item is not
> exported.....I am guessing there is a reason for this, but can anyone
> enlighten me ?
> 
> Cheers, Jeremy Coulter
>  
>  
>  
> Jeremy Coulter (Manager)
> Visual Software Solutions
> Christchurch, New Zealand
> PH 03-3521595
> FAX 03-3521596
> MOBILE 021-2533214
> www.vss.co.nz 
> 
> --------------------------------------------------------------------------
> -
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to