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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

tab control Adv - initial selection (no event)

Thread ID:





41583 Mar 6,2006 02:52 PM UTC Mar 7,2006 01:26 PM UTC WinForms 1
Tags: Tools
Asked On March 6, 2006 02:52 PM UTC

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 01:26 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon