- Code: Select all
node1.font<>node2.font
evaluates to true. Any idea?
When a node is created the typical way, does it have it's font set to some value or it is undefined and the hostSimpleGraph.font is used? Could this be the problem?
edit: after some investigation, it seems that the font property points to some address. Comparing the way I described earlier is like comparing two different addresses. Silly me....

Now the question is:
Do I have to compare every single property of TFont to deside if two TFont instances have the same content?