AnsweredAssumed Answered

AFTreeView.AFSelect(...) not working

Question asked by Asle Frantzen Champion on May 5, 2015
Latest reply on Jun 2, 2015 by Asle Frantzen

Hi

 

I'm working on an add-in for ProcessBook, which includes an AFTreeView component. I'm trying to select a node using the following code (same way as here: afcontext in AFTreeview.AFSelect method ) but it doesn't seem to work:

 

afTreeView1.AFSelect(AFObject.FindObject(@"\\AFServer\AFDB\Parent\Child"), afTreeView1.AFRoot, @"\\AFServer\AFDB\Parent\Child");

 

Any ideas? The two first parameters are objects and the third is a string. It should work, and it's a pretty simple AF structure.

Outcomes