简单写了一个例子,给你参考吧,数据库的也可以根据这方法来实现: var Form1: TForm1; i:integer=-1; implementation{$R *.dfm}procedure TForm1.Timer1Timer(Sender: TObject); begin i:=i+1; label1.Caption:=memo1.Lines[i]; if i=memo1.Lines.Count then i:=-1; label1.Top:=label1.Top-20; if label1.Top<10 then label1.Top:=380; end;
平滑特效字体控件包是一个基于平滑(Anti-aliasing)和特效(Effect)字体技术的控件包,支持透明、半透明、阴影、模糊、渐变色、字体纹理、噪声、轮廓字等特效。
该控件包为开放源码的免费控件包!
http://www.delphibox.com/article.asp?articleid=1342
var
Form1: TForm1;
i:integer=-1;
implementation{$R *.dfm}procedure TForm1.Timer1Timer(Sender: TObject);
begin
i:=i+1;
label1.Caption:=memo1.Lines[i];
if i=memo1.Lines.Count then i:=-1;
label1.Top:=label1.Top-20;
if label1.Top<10 then label1.Top:=380;
end;