2019年3月7日

理解 Delphi 的类(十) - 深入方法[17] - 提前声明

摘要: //要点17: 如果前面的方法要调用后面的方法, 后面的方法需要提前声明 function MyFunB(x: Integer): Integer; forward; {使用 forward 指示字提前声明} function MyFunA(x: Integer): Integer; begin R 阅读全文

posted @ 2019-03-07 19:15 癫狂编程 阅读(334) 评论(0) 推荐(0)

理解 Delphi 的类(十) - 深入方法[18] - 在接口区声明的方法都相当于提前声明了

摘要: //要点18: 如果函数在接口区定义了, 就无需用 forward 提前声明了 unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, 阅读全文

posted @ 2019-03-07 19:15 癫狂编程 阅读(170) 评论(0) 推荐(0)

delphi 导出到excel的第1种方法

摘要: 第一种方法delphi 快速导出excel 调用: ToExcel('D:\a.xsl',QueryToExcel);//路径可以自定义 ********************************************************************************* 阅读全文

posted @ 2019-03-07 18:57 癫狂编程 阅读(488) 评论(0) 推荐(0)

delphi的一个公用函数库

摘要: delphi的一个公用函数库 阅读全文

posted @ 2019-03-07 18:47 癫狂编程 阅读(452) 评论(0) 推荐(0)

DELPHI公用函数

摘要: unit YzDelphiFunc; interface uses ComCtrls, Forms, Windows, Classes, SysUtils, ComObj, ActiveX, ShlObj, Messages, Graphics, Registry, Dialogs, Controls, uProcess, uCpuUsage, StrUtils, CommCtrl,... 阅读全文

posted @ 2019-03-07 18:45 癫狂编程 阅读(413) 评论(0) 推荐(0)

Delphi 导出数据至Excel的7种方法【转】

摘要: 一; delphi 快速导出excel uses ComObj,clipbrd; function ToExcel(sfilename:string; ADOQuery:TADOQuery):boolean; const xlNormal=-4143; var y : integer; tsList 阅读全文

posted @ 2019-03-07 18:27 癫狂编程 阅读(1757) 评论(0) 推荐(0)

导航

好的代码像粥一样,都是用时间熬出来的