Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
CenturyLink
US
Last activity: 20 Nov 2020 13:39 EST
RDA - WinForm - How to reliably iterate through all controls under parent WinForm (Or select controls of specific type)
I've run into an issue where attempting to loop recursively down the child controls from a top-level WinForm will miss certain controls, namely TreeViews. If I add a panel as the first child of the WinForm, then recursively loop through all the controls of the WinForm AND the first-child Panel, all controls are reached. @jeffbadger, is there a better way to do this?
Thanks,
Matthew Ashley