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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

focus a TabPage

Thread ID:

Created:

Updated:

Platform:

Replies:

37983 Dec 3,2005 11:49 AM UTC Dec 5,2005 05:50 AM UTC WinForms 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On December 3, 2005 11:49 AM UTC

Hello, i have a TabControlAdvanced in my form and i want to display (focus) programaticly a given TabPage, could you please tell me how can i do that ? Thanks in advance

Mano J [Syncfusion]
Replied On December 5, 2005 05:50 AM UTC

Hi, You could use the SelectedTab or SelectedIndex property for this purpose // Selected Tab private void Form1_Load(object sender, System.EventArgs e) { this.tabControlAdv1.SelectedTab = this.tabPageAdv2; } // Selected Index private void Form1_Load(object sender, System.EventArgs e) { this.tabControlAdv1.SelectedIndex = 2; } The above code will set focus to the second tabPage on form_load. Please let me know if you have any questions. Thanks for using Syncfusion products. Regards, Mano

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.

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

;