Hey Guys,
I'm trying to make a label have an animated ellipsis (three dots), based on a timer's tick, basically just to show that something is happening:
Label_Text
Label_Text.
Label_Text..
Label_Text...
Label_Text
Label_Text.
Label_Text..
Label_Text...
etc...
I'm really new to programming, so what I tried, no surprise, didn't work:
procedure TForm1.Timer1Timer(Sender: TObject);
begin
if Label1.Caption = 'hello...' then
label1.Caption := 'hello'
else if label1.Caption = 'hello.' then
label1.Caption := 'hello..'
else if label1.Caption = 'hello..' then
label1.Caption := 'hello...';
end;
Could someone help me out with the logic?
Thanks very much.