W
wangwang5188
Unregistered / Unconfirmed
GUEST, unregistred user!
我在制作启动和登录窗口时出现如现问题
源代码:
program sale;
uses
Forms,
sample in 'sample.pas' {Form1},
main in 'main.pas' {Form2};
{$R *.res}
begin
Application.Initialize;
sample:=Tsample.create(application);
sample.show;
sample.repaint;
sleep(5000);
sample.update;
Application.CreateForm(TForm2, Form2);
sample.close;
sample.free;
Application.Run;
end.
出现以下错误
[Error] sale.dpr(12): '.' expected but ':=' found
[Error] sale.dpr(13): Undeclared identifier: 'show'
[Error] sale.dpr(14): Undeclared identifier: 'repaint'
请大家帮忙呀!
如果有通用的启动画面和登录窗口麻烦给我发一份好吗? wangwang5188@sina.com
源代码:
program sale;
uses
Forms,
sample in 'sample.pas' {Form1},
main in 'main.pas' {Form2};
{$R *.res}
begin
Application.Initialize;
sample:=Tsample.create(application);
sample.show;
sample.repaint;
sleep(5000);
sample.update;
Application.CreateForm(TForm2, Form2);
sample.close;
sample.free;
Application.Run;
end.
出现以下错误
[Error] sale.dpr(12): '.' expected but ':=' found
[Error] sale.dpr(13): Undeclared identifier: 'show'
[Error] sale.dpr(14): Undeclared identifier: 'repaint'
请大家帮忙呀!
如果有通用的启动画面和登录窗口麻烦给我发一份好吗? wangwang5188@sina.com