Please Im using Vb.net 2015 with UltraTabcontrol and I have created tabs at design time and set their invisible properties to false. Now, I want to bring the selected tab to the front. Please help me achieve this. Thanks in advance
Hi Ben,
By setting a tab page to SelectedTab property of the TabControl, you can make that tab page visible and to scroll into view. For example you can do something like this to set a tab as currently selected tab.
Dim tabs As UltraTabsCollection = Me.ultraTabControl1.Tabs Me.ultraTabControl1.SelectedTab = tabs("tabpage1")
Please let me know if I may be of further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
Thanks, Sahaja. What I need is the selected tab should be at the front of the other tabs. I use the following code to select the tab. I'm now left with bringing it to the front. Me.TabControl1.Visible = True Me.TabControl1.Tabs("File Opening Search Form").Visible = True Me.TabControl1.Tabs("File Opening Search Form").Selected = True I appreciate your effort. Thanks
I’m glad that you were able to resolve your issue. Please let me know if I may be of further assistance.
Hello, Sajara. No, Ive not been able to solve the problem. I want to bring the selected tab to the front. Please is there any way to bring the selected tab to the front of all tabs? Thanks for your support.
By setting the tab page as the selected tab you can bring it to the front of all tabs. If you are not seeing the selected tab on top of your other tabs then please reproduce this issue in a sample and send it to us. We will further look into this issue as soon as we receive the sample.
Please let me know if you have any questions.