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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TTabControl - simple question

Status
Not open for further replies.

AP81

Programmer
Apr 11, 2003
740
AU
A quick question...

I have a tab control on a form with 5 tabs. I stick a button one of the tabbed areas. When I run the application, this button is visible when I click on any of the tabs.

In VB.NET, each tab is self-contained, such that if you add controls to one tab, they will not be visible on other tabs.

My question is how do I do this with Delphi?

Thanks in advance.




------------------------------------
There's no place like 127.0.0.1
------------------------------------
 
before adding the button, FIRST click inside the page you want the button to be and THEN click on your pallette, select button and then click inside the tabcontrol.



 
I still don't get it. I can't click inside of one tab without selecting the whole tab control. I change the TabIndex to whichever tab I want, then add the button. Still have the same problem.




------------------------------------
There's no place like 127.0.0.1
------------------------------------
 
Aha...

I was using TTabControl, rather than TPageControl.




------------------------------------
There's no place like 127.0.0.1
------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top