kusterg
15 years agoOccasional Contributor
Expanding Tree control
I am working with an application that uses Infragistics controls 6.1 for tree views.
All tries I did, according to help and forum suggestions, to expand all the whole tree in order to select a specific node were not suggessful so far.
The full name of the tree control is defined as:
Sys.Process("Application").WinFormsObject("UserManagementWizard").WinFormsObject("wizard").WinFormsObject("pageOrganizationSelection").WinFormsObject("ctrlTreeOrganisation").WinFormsObject("pnlMainView").WinFormsObject("ctrlTree")
To access children it looks like the following: Nodes.Item(0).Nodes.Item(1).Text.OleValue
Any try to add an .expand behind a certain node or item just lead to an error in code.
Does anybody have any suggestions?
All tries I did, according to help and forum suggestions, to expand all the whole tree in order to select a specific node were not suggessful so far.
The full name of the tree control is defined as:
Sys.Process("Application").WinFormsObject("UserManagementWizard").WinFormsObject("wizard").WinFormsObject("pageOrganizationSelection").WinFormsObject("ctrlTreeOrganisation").WinFormsObject("pnlMainView").WinFormsObject("ctrlTree")
To access children it looks like the following: Nodes.Item(0).Nodes.Item(1).Text.OleValue
Any try to add an .expand behind a certain node or item just lead to an error in code.
Does anybody have any suggestions?