Delphi 10.3.3
TAdvEdit version 4.0.3.5
Desgntime:
Form1.font.name = 'Arial'
Form1.Font.Style = fsBold
Form1.color=clGreen
AdvEdit1.color=clWhite
AdvEdit.Font.Color = clBlack
AdvEdit1.LabelFont.Color = clWhite
In designtime it looks correct.
Runtime:
The AdvEdit.LabelFont.Color changes to clBlack
I have made a very small project that demonstrate the problem
Any hint?
br.
Anders Balslev
Thanks for reporting.
We could trace & solve this issue. The next update will address this.
Apparently - this strange behavior with the font / labelfont comes again on new Delphi / new TMS VCL UI Pack .
Delphi 11.3
TAdvEdit version 4.0.4.3
br.
Anders Balslev
I notice the same behavior with advdatetimepicker (D12, VCLUiPack 13.0.3.0)
As a matter of fact, it was a TDBAdvEdit that was the problem.
But also:
Trop a new TAdvEdit on the form:
Set a label property
Set label font to white
Thereafter - set the font color to blue
Consequense: The label font color also turned into blue.
I'll send the project to you directly
br.
Anders
We fixed the issue with labeFont color change at design-time. As far as we saw, it was a design-time only issue.
Hi Bruno
No I faced the issue with the designtime-runtime LabelFont color on the DataAware version of the component (TDBAdvEdit). I sent Project1.zip directly on the mail.
br.
Anders
TDBAdvEdit descends from TAdvEdit and introduces nothing new wrt label handling.
You can attach the project here. We have not seen a direct email with your project.
Project1.zip (6.9 KB)
![ScreenshotRunningApp](https://support.tmssoftware.com/uploads/default/original/2X/6/63792617b251f4f175fb0931bf76baa02d022bdf.png)
OK
It's here
br.
Anders
I tested with our latest internal version and cannot see a problem. I changed first the first edit label font color and then the AdvEdit.Font.Color and the correct colors appear both at design-time and runtime.
I suggest to retest when we released TMS VCL UI Pack v13.0.5.0
OK - I'll then test it again with 13.0.5.0
Maybe it's a setting in the Delphi 11.3 that's wrong.
But on v13.0.4.0 the problem persists on my environment
We may close the ticket for now.
br.
Anders