上一页 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 阅读(417) 评论(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 阅读(350) 评论(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 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 阅读(166) 评论(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的HTTP事件代码有错,大虾进来看。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206215249251.html Procedure MASXML(Const MDataSet,MDataSets:TADODataSet); Var oReg:IX... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(450) 评论(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 / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206164919260.html 有没有复制文件夹的API函数!!!如果有怎么用?> y谢谢! 没有一个函数就能把文件夹和里面的文件一起就搞定的,除非是你自己写,系统没有标准的function 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(264) 评论(0) 推荐(0)
摘要: 报表的相关问题,急啊! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206170144259.html 我用的是QReport做报表。 我以前做是用QRDBText连数据库显示的,数据再多也会自动一页一页增加下去的。但是现在问题是我没有用数据库,直接就是要把计算出... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(327) 评论(1) 推荐(0)
摘要: InputQuery('输入查询条件','查询品名为' Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206181606258.html InputQuery('输入查询条件','查询品名为', NewString); 运行时,'查询品名为'才显示为... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(346) 评论(0) 推荐(0)
摘要: 想建一个带分隔条的label 控件; Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206182116257.html 想建一个带分隔条的label 控件; 是竖式的分隔条,能不能实现?如何实现? 用TBevel控件,复制到你的窗体上看... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(376) 评论(0) 推荐(0)
摘要: CRC32算法问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206182220256.html #include "stdafx.h" #include "crc.h" DWORD CCrc::CrcTable[256]; ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(527) 评论(0) 推荐(0)
摘要: 新人求助关于类的构造和封装问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206195523254.html 为了练习类的构造和封装,自己写了这样一个小程序,设计三个单元unit Person,unit ET,unit Form,可是在写完Person单元的程序再在ET单... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(300) 评论(0) 推荐(0)
摘要: delphi里function怎么返回多个值呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206210840253.html 我自己写了一个function,要想同时返回三个double类型的数值,请问怎么实现呢? 用引用做为参数。如: function ... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(634) 评论(0) 推荐(0)
摘要: CoXMLHTTP30在哪个单元文件里?oReq := CoXMLHTTP30.Create; 这句为什么老出错? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061206214636252.html 我有一段代码: procedure TFrmZhGs.c... 阅读全文
posted @ 2009-04-22 10:51 delphi2007 阅读(688) 评论(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 阅读(237) 评论(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 阅读(426) 评论(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 下一页