You could do so by handling the TabControlAdv''s SelectedIndexChanging event as shown in the code snippet below :
private void tabControlAdv1_SelectedIndexChanging(object sender, Syncfusion.Windows.Forms.Tools.SelectedIndexChangingEventArgs args)
if (Control.MouseButtons == MouseButtons.Right)
args.Cancel = true;
Please refer to the complete sample attached here, and let me know if this works for you. We appreciate your interest in Syncfusion products.
AdministratorJuly 27, 2004 06:25 AM UTC
Yep that worked, i found the following useful
hitTabIndex = tabControl.HitTestTabs(tabControl.PointToClient(Cursor.Position));
to find which tab was being hit....
Might be nice in future iterations of the tools to have r click activation as a style property
AdministratorJuly 27, 2004 10:13 AM UTC
Thanks for the update. I have forwarded you suggestion to the development team and we could consider this as a feature request for a future release of Essential Tools. We appreciate your continued interest in Syncfusion products.