2008年10月26日 星期日
DBGrid变换成HTML表格
幸福苹果| 幸福苹果-delphi |14:06:00
http://blog.csdn.net/uudelphi阅读全文类别:delphi编程 查看评论
dbgrid实现分页
幸福苹果| 幸福苹果-delphi |14:05:00
unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls, DB, DBTables, Grids, DBGrids,math, ComCtrls;typeTForm1 = class(TForm)阅读全文类别:delphi编程 查看评论
关于Firebird作为嵌入式数据库的使用
幸福苹果| 幸福苹果-delphi |13:13:00
如今行业软件,大都基于数据库。而一些小型的企业根本谈不上用大型数据库,如SQL Server,如果考虑用Oracle等,当然他们都是用D版了,否则如把钱放入海一样。早期,用InterBase作为后台作个软件,但后来发现小企业中,用的是破旧不稳定的机器阅读全文类别:delphi编?..
Delphi’s RTL Unleashed (Built in Delphi’s Functions and Procedures)
About.com| About.com Delphi Programming |11:00:02
in Delphi Lang :: Imagine the next situation: you were coding some It-can-do-anything super function for a few days and just as you thought it is now finished your fellow...
Delphi调节图片亮度、色彩和饱和度的代码
幸福苹果| 幸福苹果-delphi |09:11:00
unit Unit16; interface uses windows,Graphics,comctrls; const MaxPixelCount 阅读全文类别:delphi编程 ...
2008年10月25日 星期六
合并两个 Wav 文件流的函数 - 回复 "刘文强" 的问题
万一| 万一的 Delphi 博客 |22:07:00
问题来源:http://www.cnblogs.com/del/archive/2008/10/25/1069523.html#1351197unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TB...
合并两个 Wav 文件的函数
万一| 万一的 Delphi 博客 |21:54:00
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); end; var Form1: TF...
Delphi : 随机排列字符串
幸福苹果| 幸福苹果-delphi |18:02:00
procedure TForm1.Button1Click(Sender: TObject);var i: integer; s,a: widestring;begin randomize; s ...
Delphi : 字符串,数字 随机排列顺序,排序;Listbox随机排序
幸福苹果| 幸福苹果-delphi |16:44:00
假设有一组数字 1~1000,请将他们随机填充在一个数组中需求:1、数组中无重复数字2、整个程式运算非常快!阅读全文类别:delphi编程 查看评论
delphi:进程、窗口句柄、文件属性、程序运行状态
幸福苹果| 幸福苹果-delphi |16:37:00
delphi:进程、窗口句柄、文件属性、程序运行状态uses TLHelp32,PsAPI;(1)显示进程列表:procedure TForm1.Button2Click(Sender: TObject);var lppe: TProcessEntry32;found : boolean;阅读全文类别:delphi编程 查看评论
Delphi : 检测系统是否已安装了ADO(用ACCESS库时常用)
幸福苹果| 幸福苹果-delphi |16:34:00
检测系统是否已安装了ADO(用ACCESS库时常用)http://www.cnblogs.com/28088191/category/139714.html?Show=Alluses registry;function Tform1.ADOInstalled:Boolean;varr:TRegistry;s:string;beginr := TRegistry.create;trywi阅读全文类别:delphi编程 查看评论
学习 Message(6): 也可以直接覆盖祖先类的 WndProc 或 Dispatch 方法来响应消息
万一| 万一的 Delphi 博客 |12:32:00
覆盖: WndProcunit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type TForm1 = class(TForm) protected procedure WndProc(var Message: TMessage); override; end; var Form1...
学习 Message(5): 关于 TApplicationEvents.OnMessage 的第二个参数
万一| 万一的 Delphi 博客 |12:03:00
TApplicationEvents.OnMessage 的第二个参数 Handled 如果是 True, 表示消息已经处理过了, 到此为止.unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, AppEvnts, StdCtrls; type TForm1 =...
2008年10月24日 星期五
学习 Message(4): 通过 Application.OnMessage 或 TApplicationEvents 响应消息
万一| 万一的 Delphi 博客 |22:38:00
通过 Application.OnMessage 响应消息:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; procedure FormCreate(Sender: TOb...
学习 Windows Message(1): 消息发送
万一| 万一的 Delphi 博客 |16:41:00
消息流程:譬如用鼠标左键点击一下窗体, 系统会收到一条 WM_LBUTTONDOWN 消息;当鼠标抬起, 系统又会收到 WM_LBUTTONUP 消息.系统收到消息后, 会告诉窗体发生的事情, 然后窗体再做出反应; 当然窗体能否做出反应要看窗体是否有相应的响应代码.要响应 WM_LBUTTONDOWN 消?..





冀公网安备 13098202000212号