Using a default AdvColorSelector component with Style set to ssButton and SelectionStyle set to csDiscrete, the dropdown shows the little color squares with the More Colors... button at the bottom, but clicking this does nothing. In the very similar AdvOfficeColorSelector, clicking the More Colors pops up the custom color dialog. Is there some special coding needed for the plain AdvColorSelector More Colors?
It will not automatically invoke the color picker, but you can do this with an event handler, for example:
procedure TForm1.AdvColorSelector1Select(Sender: TObject; Index: Integer;
Item: TAdvSelectorItem);
begin
if Index = 41 then
if colordialog1.Execute then
AdvColorSelector1.SelectedColor := colordialog1.Color;
end;
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.