偶是從C#過來的,請教各位大蝦!1。Delphi如何實現像C#中的Response.end();
2. Delphi如何實現公共定義的調用?可否提供示例代碼?謝
2. Delphi如何實現公共定義的調用?可否提供示例代碼?謝
解决方案 »
- delphi7中自带Tools|Image Editor如何制作位图
- Actionlist问题
- C#这样的调用的函数在delphi中如何转换(调用)
- 40分求救:怎样实现现有的各控件caption显示中文,日文和韩文
- 大师指点:函数什么出错。
- FTP客户端程序,要求设定时间自动上传文件遇到难题,大哥门求救!!!在线
- 字符串问题!急!
- 如何用程序检索网站上的ACCESS库中是否存在指定的记录?
- 紧急求助,输入之后遇到DBgrid中显示不全问题。
- 查找文件,查找方法,查找朋友,高分求助一查询方法!
- Delphi中Flash播放ActiveX控件ShockwaveFlash的问题![急]
- 一个小问题~~ 如果时间为空,这句话改怎么写?
2:
public
{ Public declarations }
procedure DrawLine; //定義畫線函數
function ttisempty:boolean; //定義是否為空值函數
end;
function TForm1.ttisEmpty:Boolean; //處理鼠標在StringGrid1中按下時的事件
var
a,b:integer;
begin
for a:=1 to StringGrid1.RowCount -1 do
for b:=0 to StringGrid1.colcount-1 do
if Trim(StringGrid1.cells[b,a])='' then
begin
Result:=true;
Exit;
end
else
Result:=false;
end;
procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);
begin
DrawLine; //掉用畫線
if ttisempty=True then //掉用ttisempty
end;