| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1081 人关注过本帖
标题:谁来帮个忙啊!!!
取消只看楼主 加入收藏
ytfstx
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2008-10-22
收藏
 问题点数:0 回复次数:1 
谁来帮个忙啊!!!
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'
是怎么一回事啊
  我是新学来做一课设的,不懂是什么意思,哪个帮个忙,谢谢了
2008-10-22 23:41
ytfstx
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2008-10-22
收藏
得分:0 
谢谢了
2008-10-23 09:50
快速回复:谁来帮个忙啊!!!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.021032 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved