procedure TCnPaletteEnhanceWizard.UpdateComponentPalette(AMultiLine: Boolean);
begin
if Assigned(ComponentPalette) then
begin
if ComponentPalette.MultiLine <> AMultiLine then
begin
ComponentPalette.MultiLine := AMultiLine;
if AMultiLine then
begin
ComponentPalette.OnResize := ResizeComponentPalette;
ComponentPalette.OnResize(ComponentPalette);
end
else
ComponentPalette.OnResize := nil;
end;
end;
end;