The Road to Delphi – Introduction Until now if you want change the color of a TTabSheet in a VCL application you must create a new descendant class of the TTabSheet component, then handle the WM_ERASEBKGND message, set the TPageControl to OwnerDraw property to true and finally implement the OnDrawTab event. And after that you will have an awfull and un-themed TPageControl. In this post I will show you how using the vcl styles you can gain full control over to paint methods with very nice results. The TTabSheet To customize the colors of the TabSheets of a TPageControl we need to handle the WM_ERASEBKGND message ...
Visits by Source
Users who voted for this posting
Douglas Rodrigues de Almeida