2008年10月14日
摘要: 请教:如何设置Lable中的字符间距和行距!前提是不改变字体字号. Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215001442150.html 请教:如何设置Lable中的字符间距和行距!前提是不改变字体字号. 加空格^_^ 没有好的办法,你用个TImage... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(740) 评论(0) 推荐(0)
摘要: 看资料得知tbitmap,image,tjpegimage等都不是线程安全的,那么如何后台开一个线程打开N个图片并且显示在某个scrollbox中呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215012308149.html 经过多次试验,总是莫名奇妙出错,我想原因可能就是这个线... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(328) 评论(0) 推荐(0)
摘要: 如何 获得 自身程序 的 版本号 ???? 急!!!!!!!!!!!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215121930148.html 如何 获得 自身程序 的 版本号 ???? 急!!!!!!!!!!!! 请给出详细的代码... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(257) 评论(0) 推荐(0)
摘要: query怎么停止啊!在线等! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215162623147.html 我做了一个循环语句,显示数据库某一个表里面的纪录,一条一条显示。 用NEXT向下检索,用SLEEP让线程休息,单如果我想让QUERY停下来到当前行,怎么停呢。我是定... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(180) 评论(0) 推荐(0)
摘要: 请问你看完这个有何感想?关于Delphi中的类型转换?? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215172228146.html IntToStr(abs(StrToInt(BoolToStr(iADOQuery.FieldValues['ifaccept'])))) ... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(139) 评论(0) 推荐(0)
摘要: 请问vc里面的 0x0L 转化为delphi该如何写啊 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215185430145.html 请问vc里面的 0x0L 转化为delphi该如何写啊 $00 longint(0) 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(111) 评论(0) 推荐(0)
摘要: 小弟请教一个问题,关于fastreport Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215203149144.html 我用fastreport制作了一个报表,我想在程序运行的同时自动更换报表标题.最好有例子. up 在执行打印操作的按钮(或菜单)的代码中写:FrReport1.... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(147) 评论(0) 推荐(0)
摘要: 急,数组1排序后->数组2,求算法!3Q Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215205531143.html 数组1排序,同时将数组1排序前的序号值按排序后的顺序存入数组2,求一简单算法(代码少优先,速度其次) 例: A[0]=4 ... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(151) 评论(0) 推荐(0)
摘要: 急!delphi中variant能否和object类型转换。实例:在使用getpropvalue(range,'属性')时提示类型有错,如何解决?!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215234307142.html 小弟在编写程序过程中,想取得某一属性值,使用getpr... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(481) 评论(0) 推荐(0)
摘要: 这几天惨遭Delphi类型转换折磨,请问怎么把double转成int类型 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061216093950141.html 好不容易找了个FloatToDecimal函数,摆置了半天也不知道怎么个用法,真郁闷。 高手赶快指点指点,我快... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(879) 评论(1) 推荐(0)
摘要: 如何计算某时间段内有几个星期几? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061216151111140.html 已知日期A是星期二、四、日中的一天。求A到B这段日期内共有几个星期二、四、日? { 函数参数说明:A--The Old Date B--The... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(781) 评论(0) 推荐(0)
摘要: 请问:软件运行前的设置界面显示'第一次运行软件,正在设置...'等信息的东东叫什么?如何做出这种东东呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061216184137139.html 就是说软件工作前要有一段初始化的工作,将这个信息提供给使用者,如何用最简单的方法做出这种功能呢?最好... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(107) 评论(0) 推荐(0)
摘要: 两数组的问题? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217001324138.html 问题1:找出两数组的不同数和共有数的值和位置,和同值同位置的值存入数组s1……s9 如: 数组值r1为{ 1, 6,23,15, 5,28, 8,11,1... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(152) 评论(0) 推荐(0)
摘要: 如何在一个窗体中加载另一个窗体上的控件? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217012218137.html 想在一个窗体上加载另一个窗体现存的控件,请问该怎么做? 如form1有edit1 想在form2中加载form1的edit1,该怎么办?谢谢! ... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(330) 评论(0) 推荐(0)
摘要: 大整数加法优化 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217100254136.html 改自FGInt单元,将原来的 TGInt = Record Sign : TSign; ... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(380) 评论(0) 推荐(0)
摘要: 帮我看看这段代码为什么会内存自增? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217101112135.html function TReportDB.GetReport(var RecList:TList):Boolean; var .. ... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(189) 评论(0) 推荐(0)
摘要: PWidechar 怎么求内存占用大小 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217124214134.html pc:PWidechar; allocmem(10000); caption:=inttostr(sizeof(pc))... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(279) 评论(0) 推荐(0)
摘要: 请各位大虾帮我看看,这句是什么意思? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217220452133.html 此段代码为书中的例子的一部分代码,讲的是用类引用类型动态创建控件,其中有一句代码不明白其含义,请各位大虾赐教! procedure TMain... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(155) 评论(0) 推荐(0)
摘要: 关于加密解密的一个问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218103947132.html 算法想实现这么个功能 加密: 根据10位数的数字编号如"1000000001",加上数字Key后,产生一串8位数的数字编号 解密: ... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(191) 评论(0) 推荐(0)
摘要: 请问delphi web service如何才能在windows2003下配置使用 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218112417131.html 我做了一个WEB SERVICE 程序,在XP下配置运行都正常,放在2003下就无法显示页面.虚拟目录的配置和权限... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(273) 评论(0) 推荐(0)
摘要: 我想问一个关于日期的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218113953130.html 我的问题是这样的,今天的日期+X天+特殊日期=某日期; X天数不包括星期六日,特殊日期!,特殊日期我写进了数据库里,请问如何计算出最后的日期呢? 根据你的需... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(143) 评论(0) 推荐(0)
摘要: 由上网中病毒木马所想到的...与网页中使用ocx,cab包有关。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218114045129.html 不知你是否有这样的经历,打开了某个网页之后,发现系统中毒了,而你并没有进行任何可疑的操作,仅仅是就打开了一个网页而已。 ... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(139) 评论(0) 推荐(0)
摘要: 世界编程大赛头名程序源代码 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218120247128.html 世界编程大赛头名程序源代码 http://www.mylinux.com.cn/bbsShowDetail.do?id=1,097 复制代码带tx... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(196) 评论(0) 推荐(0)
摘要: 关于在DLL中调用TXMLDocument时出错的问题! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218133656127.html 我在dll中使用XML读取和写如配置,每次静态调用完以后都会出现错误:Access violation at address 000... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(432) 评论(0) 推荐(0)
摘要: 文件读写的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218152401126.html 我的文件是 [第一次] 00:00---00:40 第一次我拉着你得手 00:41---01:22 不知往哪走 ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(75) 评论(0) 推荐(0)
摘要: 如何声明一个全局变量,可以在应用的任何单元引用 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218153004125.html 如何声明一个全局变量,可以在应用的任何单元引用 unit unit1; interface var ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(149) 评论(0) 推荐(0)
摘要: 如何实现以下排序的算法 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218161948124.html 有类似如下一字符串:“2:牛 4:鸡 1:猪 3:虎 8:猴 3:马”如何实现按生肖前面的数值从大小到的顺序排列,即得到如下字串:“8:猴 4:鸡 3:虎... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(144) 评论(0) 推荐(0)
摘要: 一个if语句执行到一半的时候,用什么方法可以跳出来啊 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218163235123.html 比如下面代码: if **** then begin try ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(1133) 评论(0) 推荐(0)
摘要: 初学请教一下,怎么运行记事本 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218190014122.html 初学者来问问,不要笑我哦 怎么用BUTTON来运行一个XP的程序呢 就比如记事本吧,记事本占的资源小一点点 要是运运3DMAX我机子可... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(214) 评论(0) 推荐(0)
摘要: String[60]类型的值怎么赋给array[0..59] of Char类型啊? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061218235013121.html 不知道 String[60]类型的值怎么赋给array[0..59] of Char类型 ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(137) 评论(0) 推荐(0)
摘要: 在DEPHI中如何将ScriptErrorsSuppressed的属性添加到TWebBrowser上 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219015830120.html 在DEPHI中如何将ScriptErrorsSuppressed的属性添加到TWebBrowser上 ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(203) 评论(0) 推荐(0)
摘要: 刚学,做个listview,居然没做出来,请教 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219095103119.html 什么smallimages也不知道怎么填? item: data啊, imageIndexa啊 listview1.a... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(128) 评论(0) 推荐(0)
摘要: 求教,c#如何调用delphi编写的dll中的函数 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219114602118.html 如题; 由于工作需要用到c#,但是有写函数用c#太不习惯了,于是用delphi写,但是调用时出现了问题,开始以为是函数写错了,但是后来写了个最简... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(180) 评论(0) 推荐(0)
摘要: delphi的人气可不怎么样呀??天天就那几个破问题,还没人回答!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219141400117.html 好不容易自己碰到个问题,还半天冷场,真没劲。 1、求人先求已; 2、不是所有问题问题都值得人回答; ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(168) 评论(0) 推荐(0)
摘要: 為什麼不能識別該數據類型 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219144304116.html 我現在使用的是sql server 2000作為後台,用delphi進行開發,現在為什麼我的dataset 不能識別Memo類型數據啦,以前是可以的哦,請高手幫忙 人... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(144) 评论(0) 推荐(0)
摘要: 求助!从excel导出数据? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219174414115.html 如题,如何实现! com接口 请详细点可以嘛? 系统为3层结构,希望通过控件实现 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(274) 评论(0) 推荐(0)
摘要: 看看这段代码有没有内存泄露? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219185953114.html 类方法: function TAdoHelper.GetDataSet(sqlstr: string; params: TStrings): TD... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(182) 评论(0) 推荐(0)
摘要: 如何读取网页源码然后生成html文件? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061219212425113.html 我在网上找了好久没有找到,不知道用哪个函数可以实现?希望给段代码,谢谢了,在线等. uses ActiveX, ComObj; //... ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(388) 评论(0) 推荐(0)
摘要: 请教:A和B是两个tstringlist,如何除去B里面所有与A里面相同的项目?用下面的代码为什么会出错呢? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220050104112.html 我的意思是,如果是A,B是集合的话,那么我要B-A; for ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(199) 评论(0) 推荐(0)
摘要: 问一个调用VC下编写的dll的问题???好怪哦 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220075845111.html 接口函数定义: extern "C" DllExport int PCFileCopyToOther(char Disk, ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(148) 评论(0) 推荐(0)
摘要: Delphi Result問題 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220091412110.html 請問delphi自定議函數中的result是不是和其它語言的return一樣?不過在其它語言中遇到return便會結束函數.delphi中好像不是.請高手幫助提示下!!! ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(468) 评论(0) 推荐(0)
摘要: 窗体的autoscroll:=true,窗体scroll时,如何让窗体中的toolbar在窗体滚动时仍可见并保持在窗体最上方? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220094547109.html 我在窗体的onmousescroll中加了如下代码,但toolbar的位置定位... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(268) 评论(0) 推荐(0)
摘要: [原创/讨论] Windows 核心编程研究系列之二:读取物理内存地址中的内容 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220115340108.html 请到以下连接观赏: http://community.csdn.net/Expert/topic/524... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(217) 评论(0) 推荐(0)
摘要: 想结婚选日子吗?超难的“双八”问题,我没分了,有兴趣的进,很好玩!!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220122423107.html 众所周知,前天,也就是公历12.18,农历10.28,在整个北京,结婚的人特别多,晚上八点多,领证的队还排的很长,那么,如何用程序得出... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(403) 评论(0) 推荐(0)
摘要: 按钮凹凸问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220132759106.html 比如WINDONS自带的写字板,当下B图案,则B图案凹下去,并所选字体为粗体,再按一下,按钮和字体都还原了. 你自己编程也可以实现啊,在按钮的mousedown里写 可以把TSpeedBut... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(194) 评论(0) 推荐(0)
摘要: 含小数点的字符串转换为数值型 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220145819105.html 我取了表格控件中的值,DBGRIDEH1.getfootervalue(1,DBGRIDEH1.columns[5]),但其值为字符型,而且是带小数点的字符串,例:‘0.49’... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(603) 评论(0) 推荐(0)
摘要: 新手+菜鸟,请教关于取当天日期的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220153528104.html 我想让DateTimePicker.Date的值等于当天的日期 我的写法如下: DateTimePicker.D... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(253) 评论(0) 推荐(0)
摘要: 两个字节,如果写入一个大于65535的数? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220165725103.html 正常情况下FFFF为65535,如何突破呢? 突破不了了,想办法改成四个字节吧 有没有什么压缩算法?或高招,大家帮我想想.今晚就散分. 觉得已没有可能了。除非这... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(957) 评论(0) 推荐(0)
摘要: 这算是listview的bug吗? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220171729102.html 我想把listview里选中的一行纪录的某个字段保存到edit里,代码如下: edit1.text:=listview1.Selected.SubI... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(181) 评论(0) 推荐(0)
摘要: 低版本写的程序迁移到高版本??? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061220174703101.html 如d5 -> d7 1.怎么迁移? 2.有迁移向导么? 3.做哪些准备或改动? 4.注意事项? 这个有点难... ... 阅读全文
posted @ 2008-10-14 16:31 delphi2007 阅读(274) 评论(0) 推荐(0)