TTMSFMXTreeViewNode

Hi,

    it is possible to attach some user data to each of the nodes in my treeview?  I know that I could add an invisible column to the TreeView and hold the data there but that seems kind of clunky.
Thanks 
Anthony  

The TTMSFMXTreeView object for a node has several properties you can use:


TTMSFMXTreeView.DataObject: TObject;
TTMSFMXTreeView.DataBoolean: boolean;
TTMSFMXTreeView.DataInteger: boolean;
TTMSFMXTreeView.DataString: string;

Hi Bruno,

               Thank you very much for the prompt reply :-)

You wrote: "TTMSFMXTreeView.DataInteger: boolean;"

But you are incorrect, DataInteger is an Integer type right?

This is offcourse a type and should be Integer