上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 37 下一页
  2009年4月22日
摘要: 请教如何在窗体加载时指定其大小和位置? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205145939282.html 如题。 procedure TForm1.FormShow(Sender: TObject); begin Top:=20;... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(358) 评论(0) 推荐(0)
摘要: 对象有没有类似于ZeroMemory的方法? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205174106281.html 把对象所包含的所有数据清零。 之前以为是CleanupInstance,但试了一下,不对。 没有 这么直接呀。。。 再考虑考虑? 有! ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(515) 评论(0) 推荐(0)
摘要: 如何在程序出错后继续运行出错的代码后面的代码? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205174624280.html 比如说 第一行 第二行 第三行 ...... 第N行 如果在运行第二行的时候出错... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(414) 评论(0) 推荐(0)
摘要: fastreport分组脚本问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205174746279.html 现有一数据表如下: a1 大连 234 a2 旅顺 567 ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(513) 评论(0) 推荐(0)
摘要: 我的字符串比较函数没起作用???? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205175922278.html 最近老师要求我们模拟页面置换的先进先出,在进行页面置换的时候,我希望先对页面名称进行比较,一样的话,就没必要进行置换. procedure TF... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(287) 评论(0) 推荐(0)
摘要: 关于数据显示转化 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205193606277.html 我现在在做一个科室医生管理系统,在做表结构设计的时候,对于"有无中医专家""有无西医专家"均设成bit类型(SQL),想以1表示有,0表示无.但是转到前台的显示时,直接连接显示是"1""0... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(309) 评论(0) 推荐(0)
摘要: 写查询语句出现的问题.显示查不到的数据出错,帮忙看看 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205203545276.html if(form4.RBdepno.Checked) then begin ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(347) 评论(0) 推荐(0)
摘要: 在dbgriddrawCell中怎样写转化语句 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205222508275.html 在dbgriddrawCell是不是可以写转化语句,使原先为"0""1"的数据转为"无""有"显示? //参考如下代码: ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(401) 评论(0) 推荐(0)
摘要: 表格图形处理? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206163149261.html 请问:我想实现在dbgrid1的第一列加上图标(是男的一种是女的一种)我想根据男/女来判断加的图标;请问这个怎实现呢;我在网上找到一段码. 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(270) 评论(0) 推荐(0)
摘要: delphi pi怎么得到? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205223540274.html 我想在delphi里用pi计算,请问有函数直接调用吗? 难道我还要自己写一个常量pi=3.141592653 不知道math.pas里有常量定义吗?俺这里没装del... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(451) 评论(0) 推荐(0)
摘要: 怎样给TMainMenu添加mousemove事件? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061205235216273.html 我自己想给TMainMenu加一个mousemove事件,如下: unit Menu; interface ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(165) 评论(0) 推荐(0)
摘要: 高分送上->编辑.exe文件,恢复被病毒感染的文件。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206005440272.html 很不幸,我中毒了。感染了几乎全部的.exe程序文件和.scr屏保文件。杀毒后这些文件都不能用了。 但我用16进制编辑器比较中毒的文... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(212) 评论(0) 推荐(0)
摘要: 关于指针 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206091612270.html 在C++中: int *p; 请问p[1]在delpi中怎么表示. C++里的int * p ;是定义了一个整型指针 在delphi里就是 va... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(127) 评论(0) 推荐(0)
摘要: 请指点一下,讨论也可以,顶也有分 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206091917269.html 先说我一直以来的观点,不知对错。 多线程的同步有三个方法,建互斥锁,Synchronize和消息。前两个我不说了,只说消息。 我... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(87) 评论(0) 推荐(0)
摘要: fastreport3分组脚本问题,急,急,急 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206105106268.html 现有一数据表如下: a1 大连 234 a2 旅顺 567 a2... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(192) 评论(0) 推荐(0)
摘要: 怎样使原先为"0""1"的数据转为"无""有"显示? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206105919267.html 朋友提了很多建议,可是我还是用不成功.比如说ongettext事件怎么得到呢?具体该怎么实现我想要的功能?新手跪求 不明白你的意思,能否详细的说一下?... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(135) 评论(0) 推荐(0)
摘要: memo显示问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206113439266.html 问题是从 SQL 语句 SELECT 出来 的时候 是0.80185000,但是在fastreport中memo打印出来的时候是0.8018,请问... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(117) 评论(0) 推荐(0)
摘要: SQL中使用日期筛选的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206144136265.html procedure TForm4.BitBtn1Click(Sender: TObject); begin adoquery1.Close; ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(336) 评论(0) 推荐(0)
摘要: 请教如何在onshow事件里退出. Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206144507264.html 本人用delphi 6写了一个dll,dll里创建了名为frm_user_defined_report_forms的from。本人想在这个from的onshow事件做... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(121) 评论(0) 推荐(0)
摘要: 如何转换memo中指定的字符串 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206155151263.html 比如memo中的文本为: fasd[林]safad[清]ddfd[霞] 要实现的效果是转化为 fasd[周]safad[星]ddfd... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(641) 评论(0) 推荐(0)
摘要: 如何写这算法 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206162055262.html 有这样一个对应关系 1-A 2-B 3-C ... 26-Z 27-AA 28-AB ... 想输入数... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(307) 评论(0) 推荐(0)
  2009年4月8日
摘要: 开机先出先自己的程序界面,输入用户名和口令后再进入windows Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061106222842291.html 我想实现这样一个功能,开机先出先自己的程序界面,输入用户名和口令后再进入windows(winxp或者win2000),有点类似网吧里面的登陆... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(255) 评论(0) 推荐(0)
摘要: 关于文件复制与删除的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107120249290.html 想编个程序,把机器上所有的文件名为A.EXE的文件删除,再把文件B.EXE从机器的X文件夹下拷贝到机器上所有名称为Y的文件夹下,请问如何编写程序? FindFirst() ... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(235) 评论(0) 推荐(0)
摘要: delphi有几种方法创建子线程 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107143711289.html delphi有几种方法创建子线程 createthead 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(389) 评论(0) 推荐(0)
摘要: 关于playsound()的问题,在线等 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107145536288.html uses MMSystem; sndPlaysound(PChar('alarm.wav'),SND_LOOP); 怎么声音不循环播放呢?奇怪... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(264) 评论(0) 推荐(0)
摘要: 多线程的sleep和suspend问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107160754287.html procedure TAthread.Execute; begin while not Terminate... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(478) 评论(0) 推荐(0)
摘要: 如何關閉正在運行的特定的程式?急! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107161535286.html 如何關閉正在運行的特定的程式?急!, 小弟謝謝先! 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(182) 评论(0) 推荐(0)
摘要: waitforsingleobject的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107162800285.html 我在主线程中用了waitforsingleobject,可以用吗,如果可以的话,在线程中调用这个函数的的话还用不用Synchronize函数啊 1.主线程等待子... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(224) 评论(0) 推荐(0)
摘要: 为什么WaitForMultipleObjects返回后,对应的handle仍处于激发状态? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107172543284.html 我写了个用WaitForMultipleObjects同步线程的例子,窗体上有三个memo,有一个mutex数组变... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(425) 评论(0) 推荐(0)
摘要: 这个不对了,找不到控件 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061107194340283.html 在窗体中放了一个edit 和一个按钮。 用file-new-other里的thread object 创建了一个新线程类(Tmy)。 里面写了这句代码:... 阅读全文
posted @ 2009-04-08 09:16 delphi2007 阅读(258) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 37 下一页