I have a usercontrol which is placed inside one panel and some other controls like buttons in another panel. when the usercontrol is active and i move from other controls using tab key, usercontrol gets focus even when the TapStop property for the usercontrol is set to "False".
In another case, when i have the usercontrol placed in the form not inside the panel, usercontrol didnt get focused when moving from other controls using tab key.
Could anyone share me the details why the usercontrol is getting focused when it is only placed inside the panel?
Thanks and Regards,
Amal
What I have tried:
i have set myUserControl.TabStop = false but the control gets focus while moving through tab key, but TabStop is working fine with usercontrol not in panel and also tabstop for button controls in the panels are working fine