wessamzeidan Posted February 10, 2004 Posted February 10, 2004 I'm using the visible property to hide a tabpage in a tabcontrol, but its not working, its hiding the controls in the tabpage but not the tabpage itself. Is there something else I can do? Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
a_jam_sandwich Posted February 10, 2004 Posted February 10, 2004 You have to remove the tabpage from the tabcontrol see example ' Remove the tabpage TabControl1.TabPages.Remove(TabPage1) ' Add the tabpage back again TabControl1.TabPages.Add(TabPage1) Andy Quote Code today gone tomorrow!
wessamzeidan Posted February 10, 2004 Author Posted February 10, 2004 Thats what I did, but this was I loose their order, I want them to be added in a certain order. I remove them and add them with checkboxes, so the user can click randomly on the checkboxes and the tabs will be added in the order he clicked the checkboxes Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.