G
Guest
Hello All. I am having a very strange thing happening with my control on a TabControl. I have several tabs that I show depending on what the user selects.
My controls behave differently if I show all tabs or only one.
Has anyone seen something like this before?
At design time I have all tabs and set their default properties, in Sub New I remove any tabs like this:
Dim tp As TabPage
For Each tp In Tab.TabPages
Tab.TabPages.Remove(tp)
Next
Then on the load event I add the one(s) according to flags set by the user.
It's rather obscure but I have no idea where to look!
My controls behave differently if I show all tabs or only one.
Has anyone seen something like this before?
At design time I have all tabs and set their default properties, in Sub New I remove any tabs like this:
Dim tp As TabPage
For Each tp In Tab.TabPages
Tab.TabPages.Remove(tp)
Next
Then on the load event I add the one(s) according to flags set by the user.
It's rather obscure but I have no idea where to look!