TYPE区,加入
Edit1:TEdit;试试~
Edit1:TEdit;试试~
解决方案 »
- 求高手帮忙DELPHI DBGRID获取另一个窗体中的DBGRID的数据问题
- 哪有Delphi5开发人员指南的配套光盘下,谢谢!
- 大家帮忙找找错,提示ADOQuery4:field'danwei'not found 在线急等!
- !! delphi中一個很讓我納悶的問題
- 先200分,大伙帮帮忙,怎么用tidhttp打开指定的网页
- 事务问题的写法?
- Delphi如何动态打开记录集?
- websnap简单问题?
- 文件操作
- Combox 下拉菜单,要得到被选项的内容用什么方法?
- 数据库高手看过来!(高分相送)
- 急,急,急!下载了一个DELPHI6.0 没有注册码.那位哥哥哥姐姐DDMM 帮小女子一个忙.在线等待
函数是否和edit1在同一个单元中呢?
函数必须加入到form的public中
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;type
TForm1 = class(TForm)
private
{ Private declarations }
function YourFunction():string;
public
{ Public declarations }
end;var
Form1: TForm1;implementation{$R *.dfm}{ TForm1 }function TForm1.YourFunction: string;
beginend;end.