All,
I am attempting to find a control by name within a TabControl. However my current method does not drop down to the children of the control. What is the best way to do this
Control control = m_TabControlBasicItems.Controls[controlName];
control is alway null because it is two (or three) levels below. TabPage, GroupBox, and sometimes Panel in the case of radioButtons
Thank You!
You need to recurse through all of the controls to find the right one.
Here is a perfect example for you. You should be able to copy and paste and call it w/o mods.
Pasting the code snippet in case the link dies: