procedure TForm1.ColorListBox1Click(Sender: TObject);
var
col : TAlphaColor ;
begin
case(ColorListBox1.ItemIndex)of
148: col := $800000FF;
149: col := $8000FF00;
150: col := $8000FFFF;
151: col := $80FF0000;
152: col := $80FF00FF;
else
col := ColorListBox1.Color ;
end;
Label1.Text := 'Idx:'+IntToStr(ColorListBox1.ItemIndex);
ColorBox1.Color := col ;
end;