ADAdministrator Syncfusion Team July 26, 2004 05:07 PM
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.
ADAdministrator Syncfusion Team July 27, 2004 02:25 AM
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
ADAdministrator Syncfusion Team July 27, 2004 06:13 AM
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.