Sorry - posted this in the wrong place as I seem to have multiple accounts...
AdvScreenRedraw.zip (282.2 KB)
Hello!
I'm having problems manually setting the colors of the fixed rows or columns of grid cells when using Delphi styles in TAdvStringGrid. I need to be able to manually adjust the basic theme colors so I can do things like highlight certain rows.
I am attaching a simple zipped Delphi project that should reproduce the problem. If you set colors for fixed rows or columns using Grid.Colors[c,r] the screen will not consistently draw the fixed rows and columns correctly in the grid. I think this may be a bug.
The problem occurs when the project is compiled to both 32-bit and 64-bit platforms and regardless of which styles are applied. I tend to use Grid.FixedFonts=false, but the problem occurs either way. I have also reproduced the issue with various DPIAware settings in the manifest.
I'm using Delphi 11.3 and the latest version of TAdvStringGrid (13.0.8). My basic development environment is Windows 11 on a DELL XPS8950.
Please can you advise? Thanks in advance!
Charlie Heaps