本文整理自网络,侵删。
procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Single);begin Inc (nClicks); Label1.Text := nClicks.ToString;end;
function TForm1.GetClicks: Integer;begin Result := nClicks;end;
相关阅读 >>
Delphi读写文本文件 assignfile reset append
Delphi dos批命令打开应用程序同时关闭dos窗口本身
更多相关阅读请进入《Delphi》频道 >>