Hi,
I would like that when a user clicks s tab header or the tabheader gets focused that the first control in the tabpage gets the focus.
Is there an event which I can subscribe to?
Can a set the tabheader to focusable false?
regards
Stefan
Stefan,
Did my suggestion help? Let me know if you have further questions.
Michael S.
You could disable the tab by setting the Enabled property of the tab to false. Would that do what you want?
You can handle the SelectedTabChanged event and then depending on what tab is selected you can set the focus to the control you want.
Something like the following:
e)
{
(ultraTabControl1.SelectedTab.Index == 0)
ultraGrid2.Focus();
}
else
(ultraTabControl1.SelectedTab.Index == 1)
ultraGrid1.Focus();
Let me know if that helps