Vlad
Vlad

Reputation: 347

Horizontal text orientation on left aligned tabs of PageControl

Is there any possibility to orient left aligned tab captions horizontally?

Upvotes: 4

Views: 3620

Answers (2)

MarkF
MarkF

Reputation: 1646

Besides using ownerdraw I don't think there is an easy way to do that with the TPageControl. If you'd consider using a non-free third party component, I use the TRzPageControl from Raize Components and it has this feature. Make sure to set the "TextOrientation" to horizontal and the TabStyle to roundcorners (the default tab style looks odd with the text on horizontal mode).

Upvotes: 4

Toon Krijthe
Toon Krijthe

Reputation: 53476

Not sure what you want exactly, but you can set the OwnerDraw property to True. And use the OnDrawTab event to draw it yourself.

Upvotes: 5

Related Questions