DBGrid3D (增加了鼠标滚轮的支持)
在原来TDBGrid的基础上增加了鼠标滚轮的支持: unit DBGrid3D; interface uses Windows, Messages, SysUtils, Classes, Controls, Grids, DBGrids; type TDBGrid3D = class(TDBGrid) private { Private declarations } protected { Protected declarations } public { Public declarations } published function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean; override; { Published declarations } end; procedure Register; implementation function TDBGrid3D.DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean; begin if WheelDelta 0 then DataSource.DataSet.Prior; end; procedure Register; begin RegisterComponents('Samples', [TDBGrid3D]); end; end.
文件列表
20040810094229.rar
(预估有个7文件)
说明.htm
4KB
DBGrid3D (增加了鼠标滚轮的支持)
DBGrid3D
DBGrid3D.dcu
4KB
DBGrid3DB.dcu
4KB
DBGrid3D相关说明 .txt
53B
DBGrid3D.pas
793B
代码中国.txt
3KB
代码中国.url
126B
暂无评论