Hi Illum,
You could do so by deriving from the TabControlAdv and overriding its ProcessCmdKey method as shown in code below :
public class CustomTabControlAdv : TabControlAdv
{
public CustomTabControlAdv () : base() {}
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == (Keys.Control | Keys.PageUp))
{
if (this.SelectedIndex > 0)
this.SelectedIndex--;
}
else if (keyData == (Keys.Control | Keys.PageDown))
{
if (this.SelectedIndex < (this.TabCount-1))
this.SelectedIndex++;
}
return true;
}
}
The complete
test sample illustrating this workaround is attached here. We appreciate your continued interest in Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.