I use ElementFindChildren() together with ElementGetChildFieldItem() to iterate over the elements of a form. That works fine.
I perform the DefaultAction for each element which opens a new window in which I again have to find certain elements. I do that with ControlGetElement() and ElementFindChild() and then close this window which brings me back to my first window.
If I now want to continue my ElementGetChildFieldItem() loop things go wrong. ElementDoDefaultAction no longer works and it seems that the nested calls to ElementFindChild() messed something up with ElementGetChildFieldItem().
Then I tried to first iterate over all ElementGetChildFieldItem() calls and collect the returned elements in a list. After this loop finished I then iterated over the list of collected elements. But unfortunately this didn't work either
Any idea what could be the problem ?
Class library usage, coding and language questions.
2 posts • Page 1 of 1