2009年10月16日 星期五
Delphi 2010 新增功能之: IOUtils 单元(4): TDirectory.GetDirectories
万一| 万一的 Delphi 博客 |21:17:00
和 TDirectory.GetFiles 用法一样, TDirectory.GetDirectories 是用来获取子目录的.另外还有 TDirectory.GetFileSystemEntries 可同时获取文件与子目录, 用法都一样.unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Cont...
Delphi 2010 新增功能之: IOUtils 单元(3): TDirectory.GetFiles 支持通配符
万一| 万一的 Delphi 博客 |20:55:00
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; Button2: TButton; procedure Button1Click(S...
Delphi 2010 新增功能之: IOUtils 单元(2): TDirectory.TFilterPredicate
万一| 万一的 Delphi 博客 |18:20:00
TDirectory.GetFiles 函数还有一个 TDirectory.TFilterPredicate 类型的参数, 这是个匿名函数类型, 可对搜索结果再处理.unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type ...
Delphi 2010 新增功能之: IOUtils 单元(1): 初识 TDirectory.GetFiles
万一| 万一的 Delphi 博客 |17:08:00
用 IOUtils 单元下的 TDirectory.GetFiles 获取文件列表太方便了;下面的例子只是 TDirectory.GetFiles 的典型应用...unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFo...
InterLockedIncrement
扬帆| 扬帆Blog - Delphi |15:30:30
InterLockedIncrement and InterLockedDecrement实现数的原子性加减。什么是原子性的加减呢?举个例子:如果一个变量 Long value =0;首先说一下正常情况下的加减操作:value+=1;1:系统从Value的空间取出值,并动态生成一个空间来存储取出来的值;2:将取出来的值和...
动态数组传递数据示例 - 回复 YinGaGa 的问题
万一| 万一的 Delphi 博客 |14:03:00
问题来源:http://www.cnblogs.com/del/archive/2008/10/14/1310583.html#1673278unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TB...
Delphi 2010 in Croatia
Pawel Glowacki| Pawel Glowacki |13:55:32
I really like Croatia and it was such a pleasure to visit Zagreb on Tuesday with Mark Barringer (who did great DBOptimizer Beta 2 and ER/Studio demos) for the Delphi 2010 launch events. Delphi and C++Builder developers in Croatia really cares abou...
Delphi 2010 新增功能之: Rtti 单元(5): 获取方法的更多信息
万一| 万一的 Delphi 博客 |11:32:00
方法的更多信息是指: 方法类型、返回值、参数等.unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; p...
Vampyre Imaging Library 0.26.4
CodeGear| CodeGear-CodeCentral Delphi |07:15:42
Imaging is native Object Pascal image loading, saving andmanipulation library. It is available for several platformsand does not require any third party dynamic libraries.Imaging library features:-- Native Object Pascal crossplatform library with ...
Place a Progress Bar Inside a Standard MessageBox in Delphi Apps
About.com| About.com Delphi Programming |02:00:51
in Delphi TIPS :: Let's say you have a standard Windows dialog box displaying a question to the user with "Yes" and "No" (confirm) buttons. Wouldn't it be great...





冀公网安备 13098202000212号