View Issue Details

IDProjectCategoryView StatusLast Update
0025468PackagesLCLpublic2020-03-26 18:16
ReporterAntonio EvoraAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformOSWindowsOS Version7 SP1
Product Version1.3 (SVN)Product Build 
Target VersionFixed in Version 
Summary0025468: TTabControl background color
DescriptionWith classic windows theme, TTabControl used as the background color selected color for the desktop. With other themes working properly.
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0033905 new Lazarus TTabSheet does not follow theme color 

Activities

Reiner

2014-02-06 03:47

reporter   ~0072872

A possible fix for this. It currently paints the background using clBackground, perhaps it should use something like clBtnFace? The constant clBackground =$80000001 which appears to be the DESKTOP background color (and not the application workspace background that was possibly originally implied).

{in themes.pas : TThemeServices.DrawElement}
    teTab:
      begin
        if Details.Part in [TABP_PANE, TABP_BODY] then
          FillWithColor(ARect, clBtnFace{clBackground}); //rr
      end;

Derit Agustin

2014-02-23 06:28

reporter   ~0073226

You can use the panel and change color

Kazimierz Król

2014-08-25 19:39

reporter   ~0076713

Not that simple. The horizontal bevel just under the tabs still has wrong colour, and when the Panel is moved up to cover it, the bevel effect goes away.

Bart Broersma

2020-03-26 18:16

developer   ~0121721

Deleted possible malicious atachment.

Issue History

Date Modified Username Field Change
2013-12-30 13:27 Antonio Evora New Issue
2014-02-06 03:47 Reiner Note Added: 0072872
2014-02-23 06:28 Derit Agustin Note Added: 0073226
2014-08-25 19:39 Kazimierz Król Note Added: 0076713
2019-10-20 17:17 Juha Manninen Relationship added related to 0033905
2020-03-26 13:22 alex writer File Added: gm.gz
2020-03-26 18:15 Bart Broersma File Deleted: gm.gz
2020-03-26 18:16 Bart Broersma Note Added: 0121721