Large number of warnings and hints in VCL UI PACK

In recent versions of VCL UI pack the AdvColorPickerDropdown.pas raises an error on the line
cvtWebName: Result := ColorToWebColorName(FselectedColor);
with ColorToWebColorName not being recognized. Commenting this out solves the problem, but have to do it every time a new update is installed.
More annoying is that AdvToolBar shrows a large number of hints (14) in a number of variables are declared and not being used (AdvToolBarButton).
Even worse, 66 Warnings are thrown at every build e.g.
[dcc64 Warning] TBaseRowColListHdr.inc(11): W1075 Overloading a similar index type by declaring an array property 'Items'

Although these can be ignored I would rather have them not showing up, as other warnings and hints may hide between them. Any suggestions on how to remove the warnings?

Peter Højrup

What Delphi version do you use?

ColorToWebColorName exists and is declared in unit Vcl.GraphUtil.pas included with Delphi from Delphi 2006
So, please check the validity of this unit in your Delphi setup / library path.

I retested by compiling an application with TAdvToolBar & TAdvToolBarButton for Win64, but it did not show any warning here. How to reproduce the warnings you see?

After a more detailed communication with Bruno everything was solved with the latest update v. 13.5.11.0. Thank you.

1 Like