Please refer to the attached project. Pressing A key selects the first tab, B key selected the second tab, etc. The SelectedTab is changed successfully. The content area is refreshed. However, the tab is not visible. The attached gif file illustrates the behavior.
Workaround:
private void RadTabbedForm1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyData == Keys.A)
{
this.radTabbedFormControl1.SelectedTab = radTabbedFormControlTab1;
}
if (e.KeyData == Keys.B)
{
this.radTabbedFormControl1.SelectedTab = radTabbedFormControlTab2;
}
if (e.KeyData == Keys.C)
{
this.radTabbedFormControl1.SelectedTab = radTabbedFormControlTab3;
}
if (e.KeyData == Keys.D)
{
this.radTabbedFormControl1.SelectedTab = radTabbedFormControlTab4;
}
//Workaround
Size s = this.Size;
this.Opacity = 0;
this.WindowState = FormWindowState.Maximized;
this.WindowState = FormWindowState.Normal;
this.Size = s;
this.Opacity = 1;
}