上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 215 下一页
摘要: 为了方便测试, 我把官方提供的 C:\Users\Public\Documents\Embarcadero\Studio\14.0\Samples\data\FDDemo.sdb 复制了一份到 C:\Temp\FDDemo.sdb.{新建一个 VCL Forms Application, 然后添加如... 阅读全文
posted @ 2014-05-19 23:42 万一 阅读(15984) 评论(10) 推荐(0) 编辑
摘要: 很长时间没静下心来写博客了, 现在回来, 是 Delphi 不断地进步让我感动、振奋.Delphi XE5 并入了 FireDAC, 第一印象非常好, 恐怕 dbExpress 等等都要靠边站了.让我最高兴地是 FireDAC 对 Sqlite 的支持!优秀的 Sqlite 早就有很多 Delphi... 阅读全文
posted @ 2014-05-19 11:26 万一 阅读(17904) 评论(17) 推荐(1) 编辑
摘要: RDict_1.0 下载在我自己试用过程中, 随时发现了不少小问题, 我会随时更新下. 阅读全文
posted @ 2014-03-19 16:12 万一 阅读(3170) 评论(18) 推荐(0) 编辑
摘要: http://code.google.com/p/nativeclient/https://developers.google.com/native-client/overview 阅读全文
posted @ 2013-11-13 23:17 万一 阅读(4318) 评论(5) 推荐(0) 编辑
摘要: http://labs.microsofttranslator.com/bookmarklet/1.选择语言; 2.添加 Translate 链接到收藏夹或书签. 阅读全文
posted @ 2013-10-27 20:21 万一 阅读(1625) 评论(0) 推荐(0) 编辑
摘要: uses Winapi.msxml, System.DateUtils;//实时获取网络时间的函数, 得到的是格林威治时间; 默认从 sohu 服务器获取, 因为它最快, 平均只需 15 毫秒function GetNetTime(aUrl: WideString = 'http://www.sohu.com'): string;begin with CoXMLHTTP.Create do begin open('Post', aUrl, False, EmptyParam, EmptyParam); send(EmptyParam); Result := ge 阅读全文
posted @ 2013-08-17 01:02 万一 阅读(5737) 评论(1) 推荐(1) 编辑
摘要: 这小东西折腾了我好几年了, 主要是幕后需要的配套制作工具太多了.下载地址:http://blog.sina.com.cn/yinyuehebaodan 阅读全文
posted @ 2013-08-02 00:18 万一 阅读(2694) 评论(9) 推荐(2) 编辑
摘要: 以前写代码, 总是把主单元弄得满满当当; 现在更喜欢把控件比较独立的功能写成一个单元, 改写属性、重载方法...哪怕只有一点点和默认不同, 也喜欢独立出来.刚刚用到 TListBox, 需要能拖动元素、双击删除.unit ListBox2;interfaceuses System.Classes, Vcl.Controls, Vcl.StdCtrls, System.Types;type TListBox2 = class(TCustomListBox) protected procedure DragOver(Source: TObject; X: Integer; Y: Int... 阅读全文
posted @ 2013-07-24 13:20 万一 阅读(5202) 评论(15) 推荐(1) 编辑
摘要: STA 单元 (用到 System.SysUtils.TStringHelper):unit STA;interfaceuses System.SysUtils, System.Classes;type TSta = record FSeparator: Char; FArr: TArray>; constructor Create(const aStr: string; const aSeparator: Char = ';'); overload; class operator Explicit(const aStr: string): TSta; clas... 阅读全文
posted @ 2013-07-23 14:50 万一 阅读(2989) 评论(0) 推荐(1) 编辑
摘要: 手头的程序需要修改注册表, 以让当前程序成为某格式的默认打开程序并关联图标; Vista 之后需要管理员权限才能操作注册表, 很麻烦, 所以有了下面的尝试.unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;type TForm1 = class(TForm) Memo1: TMemo; ... 阅读全文
posted @ 2013-07-10 14:33 万一 阅读(2484) 评论(2) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 215 下一页