Delphi 2009 之 TCategoryPanelGroup[1]: ChevronAlignment 等
摘要:制作过程: 先添加一个 TCategoryPanelGroup, 再从其右键菜单 -> New Panel, 反复添加三个 TCategoryPanel. 本例测试了: TCategoryPanelGroup 的 ChevronAlignment 属性、CollapseAll 和 ExpandAll 方法; 还有 TCategoryPanel 的 Collapsed 属性. 本例效果图: ...
阅读全文
posted @
2008-08-13 23:57
万一
阅读(4575)
推荐(0) 编辑
Delphi 2009 之 TLinkLabel
摘要:本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) LinkLabel1: TLinkLabel;...
阅读全文
posted @
2008-08-13 17:40
万一
阅读(6990)
推荐(0) 编辑
Delphi 2009 之 TButtonedEdit
摘要:TButtonedEdit 比 TEdit 多出了左右两个图标 Button;
左右两个 Button 分别对应两个事件: OnLeftButtonClick、OnRightButtonClick;
每个 Button 可有四种图标显示效果: HotImageIndex、ImageIndex、PressedImageIndex、DisabledImageIndex.
阅读全文
posted @
2008-08-13 16:33
万一
阅读(5837)
推荐(0) 编辑
Delphi 2009 之 TStringBuilder 类[7]: ToString
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button...
阅读全文
posted @
2008-08-13 15:30
万一
阅读(3717)
推荐(0) 编辑
Delphi 2009 之 TStringBuilder 类[6]: Equals
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton...
阅读全文
posted @
2008-08-13 14:49
万一
阅读(2608)
推荐(0) 编辑
Delphi 2009 之 TStringBuilder 类[5]: Chars[] 属性与 CopyTo 方法
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton...
阅读全文
posted @
2008-08-13 14:25
万一
阅读(2705)
推荐(0) 编辑
Delphi 2009 之 TStringBuilder 类[4]: Insert 与 Remove
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button...
阅读全文
posted @
2008-08-13 13:53
万一
阅读(2441)
推荐(0) 编辑
Delphi 2009 之 TStringBuilder 类[3]: Replace
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton...
阅读全文
posted @
2008-08-13 13:41
万一
阅读(2974)
推荐(0) 编辑
Delphi 2009 之 TStringBuilder 类[2]: Append 与 AppendFormat
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton...
阅读全文
posted @
2008-08-13 12:40
万一
阅读(3831)
推荐(0) 编辑
Delphi 2009 之 TStringBuilder 类[1]: Create
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton...
阅读全文
posted @
2008-08-13 12:09
万一
阅读(4994)
推荐(0) 编辑
查看所有 Unicode 字符 [Delphi 2009]
摘要:本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids; type TForm1 = class(TForm) ListBox1: TListB...
阅读全文
posted @
2008-08-13 01:13
万一
阅读(7802)
推荐(0) 编辑
试试带参数的 Exit
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button...
阅读全文
posted @
2008-08-12 23:47
万一
阅读(4037)
推荐(0) 编辑
开始换用 Delphi 2009
摘要:试用的第一个版本是: v12.0.3128.15596 安装很快也很顺利, 就是不喜欢哪个 Start Page; 以前是用 Delphi Distiller 去掉的, 不过现在还没有相应的版本; 那就修改启动参数吧. 从 Delphi 2009 启动菜单上点右键 -> 查看属性: "C:\Program Files\CodeGear\RAD Studio\6.0\bin\bds.exe" ...
阅读全文
posted @
2008-08-12 21:54
万一
阅读(15478)
推荐(0) 编辑
预习 Delphi 2009 中的新功能 - JSON (二) : 如何在 Delphi 中使用 json
摘要:在 Delphi 中使用 json, http://www.json.org/ 已经给出了几种方案, 但 Delphi 2009 使用的 json.pas 又另有不同. //试了一下感觉不太完善, 等正式版出来再说吧.
阅读全文
posted @
2008-08-06 03:53
万一
阅读(9577)
推荐(0) 编辑
预习 Delphi 2009 中的新功能 - JSON (一) : 什么是 JSON?
摘要:JSON(JavaScript Object Notation) 类似与 XML; 虽始于 JavaScript, 但被多种语言支持, 它也成了 Delphi 2009 的新功能之一.假如有一段 XML:2张三99用 json 可以表示为:{"id":2, "name":"张三", "age":99}json 在 JavaScript 中使用异常方便, 譬如://例1:Data = {"id":2...
阅读全文
posted @
2008-08-06 02:12
万一
阅读(26619)
推荐(0) 编辑