We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

tab pages in the tab control not the same during runtime and design time,

Thread ID:

Created:

Updated:

Platform:

Replies:

16805 Jul 23,2004 01:15 PM Jul 26,2004 05:15 PM Windows Forms 2
loading
Tags: Tools
red27man
Asked On July 23, 2004 01:15 PM

Hi, the tab pages in the tab control are not the same during runtime and design time I have tried to use the workaround given in your knowledge base but that is firing the selected_Index change event of the tab control.. how can i stop that

Administrator [Syncfusion]
Replied On July 23, 2004 03:30 PM

Hi, Thanks for bringing this to our attention. I have tested for this issue and could observe the above mentioned behavior here. I have consulted the development team in this regard, and will update you as soon as I have more information available. We appreciate your feedback, and thanks for choosing Syncfusion. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On July 26, 2004 05:15 PM

Hi, One approach here would be to handle 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) { // do nothing } else if (Control.MouseButtons == MouseButtons.Left) { // do nothing } else if (Control.MouseButtons == MouseButtons.Middle) { // do nothing } else { args.Cancel = true; } } Please let me know if this works for you. We appreciate your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;