Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1963

adding Object to TListViewItem.Data fails

$
0
0

Hallo

Using XE7 I'm trying to add a Object to a TListViewItem using the Data Property of the TListViewItem like:

oListViewItem.Data['ArticleObj'] := aArticle;

Reading this will return allways nil. What i'm doing wrong? Is it impossible to store an Object in the Data?Assigningan Integer or a String in this way works fine.


Viewing all articles
Browse latest Browse all 1963


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>