论坛


2009年3月4日 星期三

理顺 JavaScript (18) - 语句及运算符

万一| 万一的 Delphi 博客 |21:42:00

if (..) { ... } else if (..) { ... } else { ... }switch (..) { case A: ... break; case B: ... break; case C: ... break; default: ... break; }while (..) { ... } do ... while (..); for (i=0; i10; i++) { ... } for (v in x) { ... } //循...

用 API 实现的获取文本容器中选择的文本

幸福苹果| 幸福苹果-delphi |16:59:00

用 API 实现的获取文本容器中选择的文本 - 回复 "roy.flex" 的问题问题来源:http://www.cnblogs.com/del/archive/2008/06/18/1083011.html#1229305告诉 roy.flex 同学:你的问题还是挺复杂的, 先要完成的就是这一步;再往阅读全文类别:delphi编程 查看...

理顺 JavaScript (17) - 函数

万一| 万一的 Delphi 博客 |16:58:00

函数的名称function fun() { alert(123); } fun(); //123 f = function() { alert(123); } f(); //123 msg = alert; msg(123); //123函数的返回值function fun() { var num = 1; return num; //函数可以没有 return; 如果有 之后的代码不...

用Delphi将IE收藏夹导出为HTML文件

幸福苹果| 幸福苹果-delphi |16:38:00

用Delphi将IE收藏夹导出为HTML文件http://www.cngr.cn/article/54/395/2006/2006071935446.shtml减小字体阅读全文类别:delphi编程 查看评论

外部程序获取IE页面选择文本

幸福苹果| 幸福苹果-delphi |16:22:00

http://borland.mblogger.cn/Jinjazzuses SHDocVw_TLB;{$R *.dfm}function GetSelectedIEtext: string;varx: Integer;Sw: IShellWindows;IE: HWND;beginIE := FindWindow('IEFrame', nil);sw := CoShellWindows.Create;for x := SW.Count - 1 downto 0 do &nbsp...

使用Delphi 7 编写一个IE右键菜单项目:自动保存图片

幸福苹果| 幸福苹果-delphi |16:20:00

使用Delphi 7 编写一个IE右键菜单项目:自动保存图片http://hi.baidu.com/wideblue/blog/item/ec7bf62477d3a3318744f9aa.html2007-08-07 13:31引言:     阅读全文类别:delphi编程 查看评论

使用Delphi开发IE按钮扩展

幸福苹果| 幸福苹果-delphi |16:16:00

使用Delphi开发IE按钮扩展http://hi.baidu.com/wait2008/blog/item/1f8ff924ae2ea9054d088d1e.html文档目录1阅读全文类别:delphi编程 查看评论

利用接口特性构建可自动回收的Query对象池

DELPHI盒子| Delphi盒子 |16:03:00

利用接口特性构建可自动回收的Query对象池 构建一个线程池,外部通过指定接口调用线程中的Query处理数据库操作,当外部使用完成后,依据接口生存期自管理的特性释放外部的引用; 特性: 1. 线程内查询,外部调用时界面不会出现僵死状态; 2. 外部引用Query部件无...

Random Thoughts on the Passing Scene #100

Nick Hodges| Nick Hodges |14:25:21

Woohoo!? I made it to 100!? The first one was all the way back in June of 2006, right after I got here.?? Looks like I was a bit more chatty back then.? Learn about Class Contracts in Delphi Prism.?? Class Contracts are one of those cool Delphi ...

Gravador de Arquivos em Threads

CodeGear| CodeGear-CodeCentral Delphi |13:44:50

Gravador de Arquivos em Threads* Recebe dados a escrever em arquivos e escreve em uma thread separada, respondendo assim de forma imediata;* Permite a escrita em diversos arquivos simultâneamente;* Suporta ser utilizada simultaneamente p...

理顺 JavaScript (16) - 使用 prototype

万一| 万一的 Delphi 博客 |12:21:00

给对象增减方法function Rect(w, h) { this.width = w; this.height = h; } var r = new Rect(2, 3); /* 给 r 对象增加一个计算面积的方法 area() */ r.area = function() {return this.width * this.height}; alert(r.width); //2 alert(r.height); //3 ale...

Restore Digital Pictures

delphi3000| delphi3000.com |12:00:00

Digital images recovery utility recovers lost photos from pen drive, hard disk

Pocket PC Device Forensic Tool

delphi3000| delphi3000.com |12:00:00

PDA forensic application shows complete mobile information including manufacturer name, IMSI and model number. Pocket PC device forensic tool examines information like log details, phonebook contact number and generates detailed text report.

Su(m)duku

CodeGear| CodeGear-CodeCentral Delphi |11:49:57

For LOGIC gamer... School on Suduku (+sumduku) & wiki alphabet game (Katakana/Hiragana). "School on Suduku" only russian translate. Regards for any localization.last fix: update components.

理顺 JavaScript (15) - 类的继承手段: prototype

万一| 万一的 Delphi 博客 |11:45:00

prototype(原型) 是 JavaScript 中类的继承手段;一个类也不过是一组属性和方法的集合, 所谓继承就是继承属性或方法;属性是个值, 方法是个函数, JavaScript 喜欢把它们都叫成属性, 我们喜欢把它们叫做成员;JavaScript 默认让每个函数都拥有一个 prototype 对象, 它可?..