DELPHI技术

博客园 首页 新随笔 联系 订阅 管理

2005年12月9日 #

摘要: How to get File Summary Info On Windows 2000 you can right-click in Explorer to get the file properties on any file and can associate summary information to any type of files, including even text file... 阅读全文
posted @ 2005-12-09 13:08 DELPHI技术 阅读(1633) 评论(0) 推荐(0) 编辑

2005年11月24日 #

摘要: beginwith Table1 dobegin Active := False; DatabaseName := 'DOCTOR'; TableType := ttParadox; TableName := 'DOCTORINF23'; if not Table1.Exists then begin with FieldDefs do begin Clear; with AddFieldDef ... 阅读全文
posted @ 2005-11-24 08:58 DELPHI技术 阅读(1099) 评论(0) 推荐(0) 编辑

2005年11月23日 #

摘要: Enlib3.0组件包安装成功后,在系统的组件面板中会显示“enlib”组件包标签(如图1),添加DBGridEh到窗体的方法与其它组件一样。在窗体中添加该组件后,请跟我一起来实现图2的一些特殊效果,具体属性设置请参考属性表的说明。A、定制标题行1、制作复杂标题行 标题行可设为2行以上高度,并可以为多列创建一个共同的父标题行。为实现这个效果,需在各个列标题属性中以R... 阅读全文
posted @ 2005-11-23 09:16 DELPHI技术 阅读(6525) 评论(1) 推荐(0) 编辑

摘要: 一、打印dbgrid数据://==============================================================================//打印DBGrid中的所有数据********************************************************//=================================... 阅读全文
posted @ 2005-11-23 08:56 DELPHI技术 阅读(1998) 评论(1) 推荐(1) 编辑

2005年11月22日 #

摘要: delphi 默认情况下参数保存的位置:函数的第一个参数保存在eax中,第二个参数保存在edx中,第三个参数保存在ecx中, 函数的返回值经常放在eax中。 阅读全文
posted @ 2005-11-22 15:50 DELPHI技术 阅读(1045) 评论(0) 推荐(0) 编辑

2005年11月21日 #

摘要: procedure TForm1.Button1Click(Sender: TObject) ;var lf : TLogFont; tf : TFont;begin with Form1.Canvas do begin Font.Name := 'Arial'; Font.Size := 24; tf := TFont.Create; try tf.Assign(Font) ; GetObjec... 阅读全文
posted @ 2005-11-21 19:22 DELPHI技术 阅读(435) 评论(0) 推荐(0) 编辑

摘要: There are many times when you need to split a string into an array of strings by using a character as a separator. For example, a CSV ("comma" separated) file might have a line like "Zarko;Gajic;;Delp... 阅读全文
posted @ 2005-11-21 19:20 DELPHI技术 阅读(705) 评论(0) 推荐(0) 编辑

2005年7月22日 #

摘要: 每隔10年Borland都要经过一个生死劫?!1985年Borland 发布了Turb Pascal,Borland进入了10年辉煌期。1995年Borland 成功开发了Delphi 1.0 Borland起死回生,从死亡的边缘获得了新生!2005年Borland 又一次面临生死关口:连续两季度亏损,JBuilder战线失守,Kylix出师不利!总裁被迫下课!这一次Delphi 2005还能帮助... 阅读全文
posted @ 2005-07-22 12:47 DELPHI技术 阅读(1394) 评论(0) 推荐(0) 编辑

2005年7月16日 #

摘要: DFM File(main.dfm): object MainForm: TMainForm Left = 301 Top = 163 Width = 696 Height = 480 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -16 Font.Name = 'T... 阅读全文
posted @ 2005-07-16 15:18 DELPHI技术 阅读(2052) 评论(1) 推荐(0) 编辑

摘要: unit uMainFrm;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask;type TMainForm = class(TForm) btnPkgForm: TButton; medtOp1: TMaskEdit; me... 阅读全文
posted @ 2005-07-16 11:50 DELPHI技术 阅读(1453) 评论(0) 推荐(0) 编辑