论坛


2008年12月11日 星期四

给 TStringGrid 添加鼠标拖动功能 - 回复 "dxx" 的问题

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

问题来源:http://www.cnblogs.com/del/archive/2008/12/11/1091310.html#1398793本例效果图:代码文件:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids; type TForm1 = class(TForm...

创建 GUID

万一| 万一的 Delphi 博客 |17:25:00

uses ComObj, ActiveX; procedure TForm1.Button1Click(Sender: TObject); var Guid: TGUID; str: string; begin CoCreateGuid(Guid); str := GUIDToString(Guid); Memo1.Lines.Add(str); end; procedure TForm1.Button2Click(Sender: TObject); const ...

XNA Tutorial 1 translated to Delphi Prism

Pawel Glowacki| Pawel Glowacki |16:37:05

There was a couple of interesting comments to my question regarding options for writing games in Delphi. The XNA Game Studio 3.0 online documentation contains tutorial projects. I thought it would be cool to create a Delphi Prism version of "Tutor...

设置DBGridEH自适应列宽的最好方法

幸福苹果| 幸福苹果-delphi |15:55:00

一直在找最好的根据DBGridEH(或者DBGrid)的内容和标题栏设置自适应列宽的方法,一直没有太好的。今天从园地上发现了源码:地址如下,非常好用。与大家分享:http://www.delphifans.com/SoftView/SoftView_2019.html代码哪下://需要定义这个类,才能使用OptimizeSele...

DBGrid/DBGridEh/stringgrid用法集錦

幸福苹果| 幸福苹果-delphi |15:54:00

http://www.delphibbs.com/keylife/iblog_show.asp?xid=27640类别:delphi编程 查看评论

希望知道DBGridEh及其系列控件的朋友能介绍他们的一些典型用法

幸福苹果| 幸福苹果-delphi |15:54:00

tdbgrideh的用法:1。多标题的显示2。支持打印和预览,自己把打印汉化一下,比较好用,至少帐表是全都能解决的。3。数据导出,可以支持txt,html,db等等六七种格式吧。4。数据导入,可以支持。。。。。。。。。。。。。。。。5。数据的多选,行选,列选,框选等。可...

最简单的DBGridEh单击标题栏排序的方法

幸福苹果| 幸福苹果-delphi |15:53:00

2007-01-09 17:20记的N年前 无聊的时候有去实现过这个功能,可是太复杂了,今天想找点简单的 ,在网上查了好久基本都是复杂的而且还很多错误。刚刚测试成功顺便把代码贴出来。(废话真多不好依稀哦)  1。先设置相关要设置的在ColumnDefValues/Title/Title...

DbgirdEh的一些用法

幸福苹果| 幸福苹果-delphi |15:53:00

http://hi.baidu.com/grs%5Fgrs/blog/item/301dd50973e8d682d1581b18.htmlhttp://hi.baidu.com/grs%5Fgrs/blog/item/9b44253f203831ec54e72318.htmlhttp://hi.baidu.com/grs%5Fgrs/blog/item/766f2c345aad493b5bb5f518.html阅读全文类别:delphi编程 查看评论

如何安装EhLib,DbGridEh

幸福苹果| 幸福苹果-delphi |15:51:00

在论坛上经常看到很多新手问一些安装组件的方法,我以前在这个方面也碰到过些问题,也有了一些心得,现在就安装Ehlib组件(版本为3.3)的方法做个说明:1、当然是先要卸载以前安装的Ehlib组件了,在菜单的“Component”的“install Packeges”里,...

影响ClientDataSet处理速度的一个因素

幸福苹果| 幸福苹果-delphi |15:04:00

影响ClientDataSet处理速度的一个因素TClientDataSet是Delphi开发数据库时一个非常好的控件。有很强大的功能。我常常用ClientDataSet做MemoryDataSet来使用。还可以将ClientDataSet的数据保存为XML,这样就可以做简单的本地数据库使用。还有很多功能就不多说了。在使...

多层结构中必不可少件TClientDataSet的全面剖析

幸福苹果| 幸福苹果-delphi |15:01:00

在三层结构中,TClientDataSet的地位是不可估量的,她的使用正确与否,是十分关键的,本文从以下几个方面阐述她的使用,希望对你有所帮助.1.动态索引procedure TForm1.DBGrid1TitleClick(Column: TColumn);beginif (not column.Field is Tblobfield) then//Tblobfiel...

FastMM如何使用

幸福苹果| 幸福苹果-delphi |14:29:00

请问怎么用啊!loucuff2006-8-31 21:37:37使用的时候:    阅读全文类别:delphi编程 查看评论

Unicode tip #9 - Console Output

Bob Swart| Dr.Bob’s Delphi Notes |12:29:22

First the bad news: console I/O does not support reading (UTF-16) Unicode strings, and writing only suports AnsiStrings.

Easy Email Button and Label

delphi3000| delphi3000.com |12:00:00

Easy Email Button and Label This application shows you how to build an email label and button in delphi, in 3 or 4 lines, so you do not have to rely on third party components anymore, saving you copyright infringements and thank you's. However eas...

Easy Email Button and Label

CodeGear| CodeGear-CodeCentral Delphi |10:18:05

easy email in delphi, free delphi tutorial, delphi example, sending email in delphi using a button or a label, delphi sample code, delphi 7 tutorial