delphi - Setting the Index of a Node in VirtualStringTree? -


i trying change index of node, because there specific nodes @ times needs @ bottom of tree. tried change node.index, did not change anything. question is: how change index of pvirtualnode?

thanks! - jeff

given still using tree view control container, ideal solution offered smasher not available you.

one rather obvious solution, given tree view has no hierarchy (i.e. it's list) use sort method own compare function (oncomparenodes).

the other blindingly obvious strategy add node want @ bottom last. if need add other nodes later, insert them above special last node insertnode. simple approach suffice problem have described it.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -