Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PageControl

Status
Not open for further replies.

BuilderSpec

Programmer
Dec 24, 2003
383
GB
Hi

Is there a way i can use the pagecontrol control ? Fill it with tabsheets but at runtime make it so that the tabs are not visible.

I want to do this as only really want one tab visible at any one time but at design time I want all tabs displayed. I have most of what I want I just would like to be able to hide the tab itself on the PageControl . is this possible ?

Thanks




Hope this helps!

Regards

BuilderSpec
 
Sorry just to update. I don't want any tabs showing at all. I want to use the PageControl as it's really useful from a design point of view and at runtime i just code which tab i want visible but without the actual tab showing.

Thanks

Hope this helps!

Regards

BuilderSpec
 
Sorted it for now.

Created a single panel then put my page control on that panel aligned to the panel.

If I make the pagecontrol invisible then each time I want to use a screen i just make the tabsheet parent to the underlying panel after putting the existing panel content back to the pagecontrol's relevant tab.

Would have liked to just use the pagecontrol but this works. If anyone knows how to do it the right way would appreciate a line.

thanks


Hope this helps!

Regards

BuilderSpec
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top