saeid2014
saeid2014

Reputation: 171

Delphi TPageControl Set tab width only for one tabsheet

The TabWidth property of TPageControl sets width of tab for all pages. Is it possible to set TabWidth property only for one tabsheet?

Upvotes: 0

Views: 1202

Answers (1)

Sertac Akyuz
Sertac Akyuz

Reputation: 54772

No. As documented, your options are:

  • Set it to 0 to have the width of each tab automatically calculated, in which case you can have some flexibility using, e.g., spaces on certain tabs to make them wider.

  • Set it to a number that will be used as the width of all tabs.

Upvotes: 3

Related Questions