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

Add tabsheets to Pagecontrol at runtime

Status
Not open for further replies.

LucieLastic

Programmer
May 9, 2001
1,694
GB
hi All

Would like to fill my empty pageControl with tab sheets at runtime, as the tabsheets can be different depending on the user's options.

Could someone tell me how to do this? I have done it before but just can't remember.

big ta for any help
lou
 
Code:
TabSheet: TTabSheet;

TabSheet := TTabSheet.Create(Self);
TabSheet.PageControl := PageControl1;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top