Question

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

Was it helpful?

Solution

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

OTHER TIPS

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).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top