Search found 4 matches

by AdrianL
Tue Oct 09, 2018 10:46 am
Forum: Automation API
Topic: Tree view checkboxes checking progmatically
Replies: 4
Views: 2405

Re: Tree view checkboxes checking progmatically

setting the checked attribute did not work nor double clicking, but then realised that a space keypress would check it so used that.
by AdrianL
Thu Oct 04, 2018 11:52 am
Forum: Automation API
Topic: Tree view checkboxes checking progmatically
Replies: 4
Views: 2405

Re: Tree view checkboxes checking progmatically

Thanks for the example, it has the same problem that it clicks the node but not the checkbox. and using the Check method on the hckbox does not pick it either. But it is a lot easier to find the items.
by AdrianL
Wed Oct 03, 2018 5:22 pm
Forum: Automation API
Topic: Tree view checkboxes checking progmatically
Replies: 4
Views: 2405

Tree view checkboxes checking progmatically

I am trying to find and check treeview nodes check boxes in a winforms 4.5 Treeview. The nodes are picked up from a variable with each main node on a separate line, but subnodes seperated by \ e.g Node1 Node2\subnode 3 given a tree like this and wanting to select the two items node 1 and subnode 3 r...
by AdrianL
Fri Aug 03, 2018 3:52 pm
Forum: General Questions
Topic: Automating for Office versions
Replies: 1
Views: 1140

Automating for Office versions

Testing between versions of Microsoft Office Microsoft have changed the hierarchy of backstage view so in word 2010 the paths looks like /form[@title='Document1 - Word']//container[@automationid='BackstageView']/list[@automationid='NavBarMenu']/listitem[@name='Print'] and in Word 2013 it looks like ...