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. Image for the cookie policy date
close icon

how to set focus of individual tab page

Hi,

I couldn't find this anywhere in the form. I'm looking for a comment to set the focus of the third tab page in my TabControlAdv tab control.

I've tried the following command with different indices an have gotten no response in the UI:

tabMain.TabPages(2).Focus()

Any help greatly apprciated.

Thanks,
Scott

3 Replies

DK Dhivya K Syncfusion Team January 12, 2010 12:39 PM UTC

Hi Scott,

Thank you for your interest in Essential Tools. If your intention is to activate a tabpage and set focus to it, please use SelectedTab property as follows:

this.tabMain.SelectedTab = tabMain.TabPages[2];

Please let me know if this helps.

Regards,
Dhivya.


AD Administrator Syncfusion Team January 12, 2010 06:07 PM UTC

Thank you.


DK Dhivya K Syncfusion Team January 13, 2010 04:20 AM UTC

Hi Scott,

Thanks for the update. Please let me know if you have anyother concern.

Regards,
Dhivya.

Loader.
Live Chat Icon For mobile
Up arrow icon