UserControl Focus Issue - Focus() sometimes returns false
- by Craigger
I have a user control that behaves similar to a tab control.
The tab headers are UserControls that override Paint events to make them look custom.
In order to leverage the Validating events on various controls on our tab pages, when the user clicks on the tab headers, we set the Focus to the TabHeader user control.
I've noticed that…