If you want them hidden (which I suspect), you have to cover them up with a
panel or something. I used a cute "banner" graphic to cover the tabs and
leave only the client areas. My application is a database browser that
needs to switch forms from a TreeView on the left.
If you want them hidden (which I suspect), you have to cover them up with a
panel or something. I used a cute "banner" graphic to cover the tabs and
leave only the client areas. My application is a database browser that
needs to switch forms from a TreeView on the left.
You can also *size* the tabs so that they are not visible....
In the Tab Control Properties, set;
Sizemode = 'Fixed' and
Appearance = 'Buttons' (important!)
All that's left is to set Itemsize Width = 0 and Height = 1.
I do this at runtime so that I still have the tabs showing
during development (can't set them both to 0...).
TabControl1.ItemSize = New System.Drawing.Size(0, 1)
Tada... No tabs!!
It took me a little playing to happen on this mix, but it works great!
I use a DevXpress XtraNavBar to control which tab page is visible,
probably similar to what you are doing with your tree view.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.