Hello forum members, I wanted to write this functionality for VirtualStringTree
1: previous button
2: next button
I would like to ask the more experienced VST forum members for advice?
Select the code first
var
Node: PVirtualNode;
begin
Node := VST.GetFirst;
VST.FocusedNode := Node;
VST.Selected[Node] := True;
VST.SetFocus;
end;
Select the code last
var
Node: PVirtualNode;
begin
Node := VST.GetLast;
VST.FocusedNode := Node;
VST.Selected[Node] := True;
VST.SetFocus;
end;