Can anyone advise me how to set the default focus on a dynamic registered tab?
the contact log tab in Business activity is dynamically loaded and need to set it as the default focus. Any idea would be appreciated :)

Can anyone advise me how to set the default focus on a dynamic registered tab?
the contact log tab in Business activity is dynamically loaded and need to set it as the default focus. Any idea would be appreciated :)
Best answer by Himasha Abeywickrama
Hi
In Designer.cs file, you just have to change the SelectedIndex value to the tab which you want the application to open up when you open the form window. Let’s say you want to open up the 2nd tab in the form window,
Then,
this.picTab.SelectedIndex = 1;
Note that the indexes start from 0.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.