[RESOLVED] Hiding Tabpages
Hello all.
I need to hide a few tab pages in a tab control (Visual C# 2005 Express), but keep the controls in them active.
More specifically, I have a large set of of databound labels that I have been using as 'shortcuts' in code to access the data they display. They are kept in a few seperate tab pages called "HiddenData1", "HiddenData2", etc, which are all inaccessable to the user.
This data access technique has worked quite well for me so far, but the visible "HiddenData" tabs are an aesthetic nightmare (even though they're not accessable, they're still visible). Unlike most controls, tab pages seem not to have a simple "Visible" property.
Any ideas to fix this little problem would be greatly appreciated.
Thanks,
Qu.
Re: [RESOLVED] Hiding Tabpages
no worries, glad I could help :)
Re: [RESOLVED] Hiding Tabpages
Oh no, I was wrong! I got confused by the fact that the DataGridView on the hidden pages was still working, and the databound labels were working before it was hidden, but not after (meaning that the first item showed properly, but all the others didn't).
Turns out it doesn't work after all! *sigh* Oh well, I'll keep looking for a way to get it working. Thanks anyway.