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 阅读(725) 评论(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 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 如何 获得 自身程序 的 版本号 ???? 急!!!!!!!!!!!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061215121930148.html 如何 获得 自身程序 的 版本号 ???? 急!!!!!!!!!!!! 请给出详细的代码... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(254) 评论(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 阅读(175) 评论(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 阅读(134) 评论(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 阅读(104) 评论(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 阅读(142) 评论(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 阅读(141) 评论(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 阅读(866) 评论(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 阅读(752) 评论(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 阅读(142) 评论(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 阅读(325) 评论(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 阅读(368) 评论(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 阅读(179) 评论(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 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 请各位大虾帮我看看,这句是什么意思? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiBase/html/delphi_20061217220452133.html 此段代码为书中的例子的一部分代码,讲的是用类引用类型动态创建控件,其中有一句代码不明白其含义,请各位大虾赐教! procedure TMain... 阅读全文
posted @ 2008-10-14 16:32 delphi2007 阅读(148) 评论(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 阅读(186) 评论(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 阅读(265) 评论(0) 推荐(0) 编辑