本文整理自网络,侵删。
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使用project manager添加一个java库到你的应用程序
Delphi shellexecute openurl 的跨平台实现
Delphi 获取网络图片在webbrowser显示 android/osx/ios/win的最佳方式
Delphi一个非常完整的取windows os 版本信息的函数
更多相关阅读请进入《Delphi》频道 >>