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 control Adv - initial selection (no event)

Thread ID:





41583 Mar 6,2006 09:52 AM Mar 7,2006 08:26 AM Windows Forms 1
Tags: Tools
Asked On March 6, 2006 09:52 AM

It appears to me that the SelectedIndexChanged event handler for a tabcontrolAdv gets an initial event at a time when the selected index = -1 but it doesn''t get an event when the default tab (index=0) gets set. Is this right or am I missing something? -r

Mano J [Syncfusion]
Replied On March 7, 2006 08:26 AM

Hi Ralph, TabControlAdv sets selected index to -1 only if there are no tabPages. Currently, it does not support setting index as -1 and sets it as zero by default. Hence we just ignore the selection index changing event (for first change) if selected index is set to zero. Please let me know if you have any questions. Regards, Mano


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.