How to publish a list of integers?

Posted by Mason Wheeler on Stack Overflow See other posts from Stack Overflow or by Mason Wheeler
Published on 2010-05-21T05:03:07Z Indexed on 2010/05/21 5:10 UTC
Read the original article Hit count: 295

Filed under:
|
|
|

I want to make a component that includes a list of integers as one of its serialized properties. I know I can't declare a TList<integer> as a published property, because it doesn't descend from TPersistent. I've read that you can define "fake" published properties if you override DefineProperties, but I'm not quite sure how that works, especially when it comes to creating a fake property that's a list, not a single value.

Can someone point me in the right direction?

© Stack Overflow or respective owner

Related posts about delphi

Related posts about tpersistent