谁来帮个忙啊!!!
unit FormManage;interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
Button4: TButton;
Button5: TButton;
Image1: TImage;
procedure Button2Click(Sender: TObject);
procedure Button1Click(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
//..........打开[进货单]窗体并隐藏主窗体........
procedure TForm1.Button2Click(Sender: TObject);
begin
input.Visible:= ture;
info.Caption:='资料管理';
Manage.Hide;
end;
//.........打开[资料管理]窗体并隐藏管理窗体......
procedure TForm1.Button1Click(Sender: TObject);
begin
info.Visible:=ture;
info.caption:='资料管理';
Manage.Hide;
end;
//........... 管理主界面窗体关闭时返回登录界面.....
procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
begin
login.show;
end;
end.
运行时出现错误
[Error] FormManage.pas(35): Record, object or class type required
[Error] FormManage.pas(35): Undeclared identifier: 'ture'
[Error] FormManage.pas(36): Undeclared identifier: 'info'
[Error] FormManage.pas(37): Undeclared identifier: 'Manage'
[Error] FormManage.pas(43): Undeclared identifier: 'info'
[Error] FormManage.pas(43): Undeclared identifier: 'ture'
[Error] FormManage.pas(44): Missing operator or semicolon
[Error] FormManage.pas(45): Undeclared identifier: 'Manage'
[Error] FormManage.pas(51): Undeclared identifier: 'login'
[Fatal Error] jxc.dpr(5): Could not compile used unit 'FormManage.pas'
是怎么一回事啊
我是新学来做一课设的,不懂是什么意思,哪个帮个忙,谢谢了