+StoreCurrentSelection uses the Selected property to determine the +values returned in the TStringList instance. The Text for each of the TTreeNode +instances is inserted in the return value in the order the nodes were visited +to reach the Selected node. The Text for each of the tree nodes appears on a +separate line. +
++If multi-selection is enabled on the tree view control, the first node in +Selections is used in the method (same value as Selected). +
+It is the responsibility of the calling routine to free the TStringList instance in the return value. Failure to do so will result in a memory leak.
+ApplyStoredSelection is used to locate a tree node in Items which +matches the specified access path. ASelection contains values, as returned by +StoreCurrentSelection, where each line is the text for a tree node in the path +to the selected node. +
++ApplyStoredSelection searches the sibling and child nodes in Items to locate a +tree node which matches the specified values. When a node is found, Selected is +set to the TTreeNode instance located in the method. If a node is not found, +Selected is set to Nil. +
++ApplyStoredSelection causes the OnSelectionChanged event handler to be +signalled (when assigned) when the value in Selected is updated. +
++FreeList indicates whether ASelection is freed in the method. When set to +False, the TStringList instance must be freed in the caller or a memory +leak can occur. +
+