
delphi学习经历
saint13
这个作者很懒,什么都没留下…
展开
-
找书
adoquery组件使用的时候老是出错,郁闷...于是决定找一两本详细介绍组件用法的书下载&原创 2005-08-12 23:15:00 · 850 阅读 · 0 评论 -
onDataChang事件
在写一个数据库应用的时候发现:如果DBgrid1.datasource为Datasource1,则执行DBgrid1.columns[0].width:=40将会触发datasource1的onDataChange事件.迷惑中查找delphi help,说明如下:Occurs when the data in a record has changed, either due to field ed原创 2005-08-15 19:13:00 · 1002 阅读 · 0 评论 -
adoconnection
在delphi中编写了一个连接数据库的程序,当执行adoconnection1.connected:=true;之后,在sqlserver中当前活动信息中可以看到多了一条进程;然而关掉程序后,相应的进程就结束了(但是我在程序中并没有关闭连接的语句,如adoconnection1.free之类);为什么?原创 2005-08-12 21:11:00 · 880 阅读 · 0 评论 -
没有执行可选特性??
begin with adoquery1 do begin Close; SQL.Clear; SQL.Add(select * from enterprise where reptcode=:p_dat1 and bankcode=:p_dat2); Parameters.ParamByName(p_dat1).value:=0801; Pa原创 2005-08-13 20:26:00 · 1983 阅读 · 0 评论 -
paramcheck (1)
Set ParamCheck to specify whether or not the Parameters property is initialized using ":Param" style parameters in an SQL statement specified in the CommandText property. If the SQL statement in Comma原创 2005-08-13 17:32:00 · 985 阅读 · 0 评论 -
Form的onActivate事件
一个只有一个Form的应用程序,在其被最小化,然后再最大化时,Form的onActivate事件所定义的动作不会被触发.一个有多个Form的应用程序,在不同form间切换的时候,会触发form的onActivate事件.原创 2005-08-15 01:08:00 · 4954 阅读 · 0 评论 -
崩溃了.
始终还是没有明白adoquery组件的正确使用方法,在用到parameters的时候总是出错,一怒之下,决定不用parameters,而改用如下形式了:先对frtime和totime分别赋值;然后 adoquery1.SQL.Add(select * from enterprise ); adoquery1.SQL.Add(where tradedate between +frtime原创 2005-08-13 02:38:00 · 704 阅读 · 0 评论 -
onActivate事件何时触发?
为什么我在最小化->最大化窗口之后,Form的onActivate事件中定义的动作并没有被执行?原创 2005-08-12 21:27:00 · 2297 阅读 · 0 评论 -
郁闷....
找到了书,却没有找到自己想要的信息,郁闷..鼓励自己不要放弃!原创 2005-08-13 00:43:00 · 739 阅读 · 0 评论 -
TChart(2)
已经在form上放好一个tchart组件,并且为它添加了一个series。现在准备产生series。先编写代码来产生一些点值。假设我们所添加得series是一个pie series。我们可以通过下面得方式生成series。series命名为默认的series1。在你的form上添加一个button,并编写事件:With Series1 doBegin Add( 40, Pencil ,原创 2005-08-17 16:06:00 · 1162 阅读 · 1 评论