Skip to content

VclStylesColorTabs

Rodrigo Ruz edited this page Apr 30, 2015 · 3 revisions

The Vcl.Styles.ColorTabs unit includes a new style hook for the TTabSheet component.

https://dl.dropboxusercontent.com/u/12733424/Blog/VCl%20Utils/colortabsvclstyles2.png

To use this style hook you must include the Vcl.Styles.ColorTabs unit in your uses class after of the Vcl.ComCtrls unit and then register the hook in this way.

  TCustomStyleEngine.RegisterStyleHook(TCustomTabControl, TTabColorControlStyleHook);
  TCustomStyleEngine.RegisterStyleHook(TTabControl, TTabColorControlStyleHook);

Check a sample application here

Clone this wiki locally