View Issue Details

IDProjectCategoryView StatusLast Update
0038979LazarusLCLpublic2021-06-10 21:08
ReporterCudaText man Assigned ToMichl  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformWin10 x64 
Product Version2.1 (SVN) 
Summary0038979: CheckBox.ParentFont does not work as needed
DescriptionDemo attached. in the demo, we must see font-color of TComboBox as yellow on start
(it works OK for TLabel here) but we see black font-color.

Black colors matter.
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0038976 closedMichl TLabel.ParentColor and TCheckbox.ParentFont not working on run time 

Activities

CudaText man

2021-06-09 20:43

reporter  

pic.png (3,457 bytes)   
pic.png (3,457 bytes)   

wp

2021-06-09 20:59

developer   ~0131219

On Windows, you cannot change the font color of TCombobox at all, this is not possible in Delphi either. Much of LCL painting is done by the widgetset and thus govererned by the theme services, and we must accept that this poses some restrictions in selecting colors.

CudaText man

2021-06-09 21:11

reporter   ~0131220

So we can close this.

jamie philbrook

2021-06-09 21:16

reporter   ~0131221

If you use an Owner draw combo box then you can make it just about anything you want!

Michl

2021-06-10 12:24

developer   ~0131226

As wp pointed out, if you use theme support, the theme of OS is used. You can disable it via MainMenu -> Project Options -> Application -> disable "Use manifest resource (and enable themes)".

Michl

2021-06-10 12:26

developer   ~0131227

> If you use an Owner draw combo box then you can make it just about anything you want!

This bug report was about TCheckBox, not TComboBox ;)

Issue History

Date Modified Username Field Change
2021-06-09 20:43 CudaText man New Issue
2021-06-09 20:43 CudaText man File Added: tst-label-parentcolor.zip
2021-06-09 20:43 CudaText man File Added: pic.png
2021-06-09 20:59 wp Note Added: 0131219
2021-06-09 21:11 CudaText man Note Added: 0131220
2021-06-09 21:16 jamie philbrook Note Added: 0131221
2021-06-10 12:09 Michl Relationship added related to 0038976
2021-06-10 12:24 Michl Assigned To => Michl
2021-06-10 12:24 Michl Status new => resolved
2021-06-10 12:24 Michl Resolution open => no change required
2021-06-10 12:24 Michl LazTarget => -
2021-06-10 12:24 Michl Widgetset Win32/Win64 => Win32/Win64
2021-06-10 12:24 Michl Note Added: 0131226
2021-06-10 12:26 Michl Note Added: 0131227
2021-06-10 21:08 CudaText man Status resolved => closed