TIWAdvTreeView - Select a node at runtime

Hi, how do I select and make visible a Node in a TIWAdvTreeView at runtime? There is no hint in the still largely absent documentation nor any clue in the Demo.

Hi,

You can use the ScrollToSelectedNode and SelectedNode properties to achieve this.

Example:

procedure Tform1.IWButton1AsyncClick(Sender: TObject;
  EventParams: TStringList);
begin
  TIWAdvTreeView1.ScrollToSelectedNode := True;
  TIWAdvTreeView1.SelectedNode := TIWAdvTreeView1.Items[3];
end;