I have 7 tabs and currently have code that that removes 4 tabs conditionally.
If Not _server.User.ConfigAccess Then
mainTab.TabPages.Remove(exchangeTab)
mainTab.TabPages.Remove(tabBrokers)
mainTab.TabPages.Remove(routeTab)
mainTab.TabPages.Remove(queueTab)
mainTab.TabPages.Remove(configTab)
End If
On form open the 2nd tab has the focus if the tabs have been removed.
How can I set the first tab to have the focus?
WP
If Not _server.User.ConfigAccess Then
mainTab.TabPages.Remove(exchangeTab)
mainTab.TabPages.Remove(tabBrokers)
mainTab.TabPages.Remove(routeTab)
mainTab.TabPages.Remove(queueTab)
mainTab.TabPages.Remove(configTab)
End If
On form open the 2nd tab has the focus if the tabs have been removed.
How can I set the first tab to have the focus?
WP