
Сейчас я покажу как можно сделать мигающий текст с изменением цвета. Используем компоненты Label и Timer. Пример на Delphi
Мигающий тест
procedure TForm1.TimerTimer(Sender: TObject);
begin
Label1.Caption := 'Мигающий текст';
if Label1.Visible then
Label1.Visible:=False
else
Label1.Visible:=True;
end;
begin
Label1.Caption := 'Мигающий текст';
if Label1.Visible then
Label1.Visible:=False
else
Label1.Visible:=True;
end;
Мигающий текст с рандомным изменением цвета
procedure TForm1.TimerTimer(Sender: TObject);
var
x : integer;
begin
x := clYellow+clRed+clBlue+clBlack+clSilver+clWhite;
Label1.Caption := 'Мигающий текст';
if Label1.Visible then
Label1.Visible:=False
else
Label1.Visible:=True;
randomize;
Label1.Font.Color := random(x);
end;
var
x : integer;
begin
x := clYellow+clRed+clBlue+clBlack+clSilver+clWhite;
Label1.Caption := 'Мигающий текст';
if Label1.Visible then
Label1.Visible:=False
else
Label1.Visible:=True;
randomize;
Label1.Font.Color := random(x);
end;