I used the same search / filter example from the TreeView Demo for a TUniTreeMenu, but the search result is added to the different TreeView menu which deletes / hides the unseen results see the image and the code used.
What do I need to do to fix this?
Function of Search:
procedure TfrmMainForm.SearchTreeMenu(const AText: string);
var
S, SString : string;
I : Integer;
aExpand : Boolean;
begin
SString := Trim(AText);
if SString<>PSString then
begin