2009年10月27日 星期二
JSON 之 SuperObject(15): 实例 - 模拟 Google 搜索
万一| 万一的 Delphi 博客 |23:04:00
阅读: 66 评论: 0 作者:万一发表于 2009-10-27 23:04原文链接本例测试效果图:代码文件:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) M...
将字符串转换成 UTF8 编码的函数
万一| 万一的 Delphi 博客 |22:32:00
阅读: 52 评论: 0 作者:万一发表于 2009-10-27 22:32原文链接这种转换一般用于网页地址; 我不知道 Delphi 是不是有现成的函数, 用到了就写了一个.//函数: function ToUTF8Encode(str: string): string; var b: Byte; begin for b in BytesOf(UTF8Encode(str)...
使用 IXMLHTTPRequest 简单获取网页源代码
万一| 万一的 Delphi 博客 |21:05:00
阅读: 74 评论: 6 作者:万一发表于 2009-10-27 21:05原文链接unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; Button1...
CodeHealer source code analysis and verification tool for Delphi
CodeGear| CodeGear-CodeCentral Delphi |18:31:54
CodeHealer is an efficient, powerful and easy to use program source code analysis and verification tool that will help find and fix a significant number of programming bugs, mistakes and inconsistencies in programs before they are released. The in...
JSON 之 SuperObject(14): 从 XML 中解析
万一| 万一的 Delphi 博客 |16:46:00
阅读: 17 评论: 2 作者:万一发表于 2009-10-27 16:46原文链接SuperObject 文件包中还有一个 SuperXmlParser 单元, 可以从 XML 中解析出 ISuperObject.SuperXmlParser 只有三个函数: XMLParseString、XMLParseStream、XMLParseFile, 分别从字符串、流、文件中解析...
ScreenSpy屏幕传输UDP控件
DELPHI盒子| Delphi盒子 |16:10:00
一个屏幕捕获并以UDP传输并以UDP传输的控件,屏幕颜色可以设置为8位、16位、24位、32位。安装这个控件即可轻松做出客户端/服务器模式的远程屏幕传输程序。 欢迎大家下载测试!附Demo! 这是本人根据互联网,整理收集! 大家来完善这个组件包!
PicShow & DBPicShow v4.10
DELPHI盒子| Delphi盒子 |16:10:00
TPicShow is an image slider control with 172 transitional effects in pure Delphi code. PicShow是一组由纯Delphi代码编写的图形控件,支持172种图片切换特效。 The major characteristics of TPicShow are: 控件TPicShow的主要特性为: Image transition can b...
JSON 之 SuperObject(13): 关于 SO 与 SA 函数
万一| 万一的 Delphi 博客 |15:21:00
阅读: 28 评论: 1 作者:万一发表于 2009-10-27 15:21原文链接通过 SuperObject 的公用函数 SO 实现一个 ISuperObject 接口非常方便;前面都是给它一个字符串参数, 它的参数可以是任一类型甚至是常数数组.SA 和 SO 都是返回一 ISuperObject;SO 可以产生一个 stArra...
JSON 之 SuperObject(12): TSuperEnumerator、TSuperAvlIterator、ObjectFindFirst...
万一| 万一的 Delphi 博客 |14:08:00
阅读: 23 评论: 0 作者:万一发表于 2009-10-27 14:08原文链接通过 ISuperObject.GetEnumerator 可获取一个 TSuperEnumerator 对象.TSuperEnumerator 主要有: MoveNext 方法、Current 属性; 使用举例:var jo: ISuperObject; e: TSuperEnumerator; begin jo ...
JSON 之 SuperObject(11): TSuperTableString、TSuperAvlEntry
万一| 万一的 Delphi 博客 |11:00:00
阅读: 62 评论: 10 作者:万一发表于 2009-10-27 11:00原文链接通过 ISuperObject.AsObject 可获取一个 TSuperTableString 对象.TSuperTableString 的常用属性: count、GetNames、GetValuesvar jo: ISuperObject; jts: TSuperTableString; begin jo := SO('...
Validate an XML Against a DTD using TXMLDocument and Delphi
About.com| About.com Delphi Programming |05:32:47
inDelphi TIPS::A DTD file can be created to specify valid tags and attributes. The purpose of a DTD is to define the structure of an XML document. It defines the structure with a list of legal elements. Here's how to programmatically validate an X...





冀公网安备 13098202000212号