Normal 0 21 false false false MicrosoftInternetExplorer4
Hi
I have an UltraTabControl. and I will select the activeTab
_TabControl.ActiveTab = _xxxTabPageControl.Tab;
if (_TabControl.SelectedTab != _xxxTabPageControl.Tab)
{
if (_xxxTabPageControl.Tab.Selected == false)
_xxxTabPageControl.Tab.Selected = true;//crash hier
}
but it crash on line _xxxTabPageControl.Tab.Selected = true; ->
with NullReferenceException
Object reference not set to an instance of an object
Thanks,
Habib
Hello Habib,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.