Making a TPageControl flat in Delphi 7

后端 未结 4 1422
小鲜肉
小鲜肉 2021-02-15 16:19

I don\'t know whether this question can be answered here, but I hope it will. I wrote a simple text editor in Delphi 7 that serves as my primary IDE for writing C code under Win

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-15 16:55

    I'm using Delphi XE8 and the following seems to do the trick:

    ATabControl.Tabs.Clear;
    ATabControl.Style := TTabStyle.tsFlatButtons;
    ATabControl.Brush.Color := clWhite;
    

提交回复
热议问题