I have 10 tabpages on my form. Based on an input in a textbox, I want to programmatically remove number of tab pages, i.e. if textbox input is 3 then only first 3 tabpages s
Actually, there is another approach that works well to make up for the lack of a visibility property.
On the tab page itself, set the parent property to Nothing to hide it. when you want to show the tab page, set the tabpage.parent to the tab control.