上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, xmldom, XMLIntf, msxmldom, XMLDoc, msxml,StdCtrls;type TForm1 = class(TForm) btn1: TButton;... 阅读全文
posted @ 2010-12-03 13:09 sunjun0427 阅读(1904) 评论(0) 推荐(1) 编辑
摘要: “如果DLL中用到了DELPHI的string类型,则DLL和主程序中都需要加上ShareMem”。DLL项目加ShareMem这个我知道,但主程序中也要加?这我就不明白了,为什么以前不加的时候没这个问题呢?加就加吧,果然加上后一点问题都没有。唉,真是搞不明白。最后在新建DLL项目时,DELPHI有一段注释给了我答案。library MyDll;{ Important no... 阅读全文
posted @ 2010-12-01 09:54 sunjun0427 阅读(3963) 评论(0) 推荐(1) 编辑
摘要: 在case语句中使用字符串 (**** 转载敬请注明-本文出处:南山古桃(nsgtao)的百度空间:http://hi.baidu.com/nsgtao/ ****) 在 case 语句中使用字符串 --- by 熊恒(beta)我今天要介绍的是一个比较另类的方法。大家都知道,case 语句只能对顺序类型 (ordinal type)管用,那么我们先看一下顺序类型到底有那些呢:1)整型;2)字 符... 阅读全文
posted @ 2010-11-30 11:23 sunjun0427 阅读(16801) 评论(2) 推荐(1) 编辑
摘要: 将快捷键改为其他即可 阅读全文
posted @ 2010-11-25 00:47 sunjun0427 阅读(385) 评论(0) 推荐(0) 编辑
摘要: Delphi2010 CallFunction:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) btn1: TButton; btn2: TButton; p... 阅读全文
posted @ 2010-11-25 00:02 sunjun0427 阅读(1136) 评论(0) 推荐(0) 编辑
摘要: 在D6下会出错是因为没有安装D6的升级包所致,只要安装了update2就没有问题 阅读全文
posted @ 2010-11-24 00:17 sunjun0427 阅读(970) 评论(0) 推荐(0) 编辑
摘要: http://www.delphifans.com/SoftView/SoftView_333.html 阅读全文
posted @ 2010-11-23 23:51 sunjun0427 阅读(848) 评论(0) 推荐(0) 编辑
摘要: unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObjec... 阅读全文
posted @ 2010-11-19 09:26 sunjun0427 阅读(2776) 评论(0) 推荐(0) 编辑
摘要: TRzComboBox支持items显示值,values存储真实需要值,比如一个编号,名称对照表,可以将编号列表存入values,将名称表存入items中.表中数据为:id text0 a1 b2 c通过数据库连接查询出结果集放入 clientdataset1中whlie not eof dobeginrzcombobox1.AddItemValue(clientdataset1.FieldByN... 阅读全文
posted @ 2010-11-18 15:52 sunjun0427 阅读(1225) 评论(0) 推荐(0) 编辑
摘要: Session variables are special types of variables that are expanded at runtime when they are used. When they are used on screens, their values are automatically expanded for you, however if a session v... 阅读全文
posted @ 2010-11-10 10:01 sunjun0427 阅读(635) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页