Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to hide the tab of the Page Frame in visual basic .n
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00712257
Message ID:
00712785
Views:
7
I have a similar need in .NET. I hid tab pages in VFP all the time. Easy way to show a different set of controls...

According to the Book "Visual Basic.Net Black Book" The TabPage part of the Tab Control subclasses from the Panel Control.

Object
MarshalByRefObject
Component
Control
ScrollableControl
Panel
TabPage


I am thinking along these lines. Create a Panel Control outside of the form for each of the Tab Pages you would have normally created. Add the panels to the form at init and make one visible (Visible property on Panel is supposed to control visible props for all contained controls.)

Another possible path is to create a panel outside of the form. Make that Panel contain the other panels. Have the outside Panel have a method and/or property combination that you talk to from your form. This method switches visiblity of its internal Panels.

Ron

>In visual foxpro you can hide the tab of the pageframe control I saw that in VB .net have the same control but I dont see the hide functionality of the tab available. Also the send to back and send to front functionality. Anybody know how this properties are called in VB.net?
What ben makes tracks for what wil be. Words in the air pirnt foot steps on the groun for us to put our feet in to.

Riddley Walker
Previous
Reply
Map
View

Click here to load this message in the networking platform