我是比較喜歡用MSN的
button
button
form
添加panel
panel
panel
可以在panel
OK
unit Unit
interface
uses
Windows
Dialogs
type
TForm
Panel
Image
Label
procedure Label
procedure Image
private
{ Private declarations }
public
procedure Show;
procedure close;
{ Public declarations }
end;
var
Form
implementation
procedure tform
begin
if AnimateWindow(Handle
begin
showmessage(′窗體退出出錯′);
free;
end;
inherited close;
end;
procedure tform
begin
top:=
left:=
if AnimateWindow(Handle
begin
showmessage(′窗體顯示出錯′);
free;
end;
inherited show;
end;
{$R *
以上紅色的區域為具體實現特效的代碼
unit Unit
interface
uses
Windows
Dialogs
type
TForm
Button
Button
procedure Button
procedure Button
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form
implementation
uses Unit
var
mesfrm:tform
{$R *
procedure TForm
begin
mesfrm:=tform
mesfrm
end;
procedure TForm
begin
mesfrm
end;
end
OK
由於制作時間較短
From:http://tw.wingwit.com/Article/program/Delphi/201311/24889.html