怎样加载函数,让他自动加载这个函数procedure TUpdate_Form.Load_value();
不知道,新手美文化啊,高手指点一下巴
unit updatedept;interfaceuses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;type
TUpdate_Form = class(TForm)
Label1: TLabel;
DeptName: TEdit;
DeptCode: TEdit;
Label2: TLabel;
Button1: TButton;
Button2: TButton;
private
procedure Load_value();
{ private declarations }
public
{ Public declarations }
end;var
Update_Form: TUpdate_Form;implementationuses Dept;{$R *.dfm}
procedure TUpdate_Form.Load_value();
begin
showmessage(''+Dept_Form.DBGrid1.columns[0].Field.AsString+'');end;
end.
不知道,新手美文化啊,高手指点一下巴
unit updatedept;interfaceuses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;type
TUpdate_Form = class(TForm)
Label1: TLabel;
DeptName: TEdit;
DeptCode: TEdit;
Label2: TLabel;
Button1: TButton;
Button2: TButton;
private
procedure Load_value();
{ private declarations }
public
{ Public declarations }
end;var
Update_Form: TUpdate_Form;implementationuses Dept;{$R *.dfm}
procedure TUpdate_Form.Load_value();
begin
showmessage(''+Dept_Form.DBGrid1.columns[0].Field.AsString+'');end;
end.
解决方案 »
- 重分求助!!在部分计算机中软件启动时出现 runtime error 216 0040421E
- ADOCONNECTION直接连接ORACLE如何做?
- 求canon sdk 开发包!
- 自己编写的ActiveX控件出了点问题,请指教~!
- implicitly imported into package,什么意思啊?
- 怎么手工修改模块的路径?是在tool/Environment options/???
- 求助:用哪一个win API函数或何种方法可以设置某一文件夹为WEB共享
- Delphi中如何实现托盘图标
- 一個啟動問題
- delphi6认证
- 关于打开CCITT GROUP 4的TIF文件
- 一个小问题。大家快来解决下,在线等
begin
Load_value;
end;
beginend;
begin
Load_value;
end;