Skip to content

VclStylesColorTabs

Rodrigo Ruz edited this page Mar 27, 2019 · 3 revisions

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

https://github.com/RRUZ/vcl-styles-utils/blob/master/images/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