会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
CodeGear
博客园
首页
新随笔
新文章
联系
管理
订阅
上一页
1
···
15
16
17
18
19
20
21
22
23
···
27
下一页
2015年6月25日
How to pass string parameters to an TADOQuery?
摘要: http://4byte.cn/question/1130217/how-to-pass-string-parameters-to-an-tadoquery.html从2个答案看,如果TADOQuery组件是 设计时 创建的,运行时设置SQL语句后,参数对象自动存在了,只要赋值。如果是动态创建,还要...
阅读全文
posted @ 2015-06-25 10:16 宝兰
阅读(132)
评论(0)
推荐(0)
2015年6月22日
delphi 高亮选中MEMO某一行
摘要: http://www.delphitop.com/html/kongjian/2641.html选中第5行//转到指定行并选中这行的文本procedure SelectLine(Memo1: TMemo; ln: Integer);begin Memo1.SelStart := SendMessa...
阅读全文
posted @ 2015-06-22 21:30 宝兰
阅读(1310)
评论(0)
推荐(0)
2015年6月20日
AnsiStartsStr 和 空字符串
摘要: function AnsiStartsStr(const ASubText, AText: string): Boolean;begin Result := AnsiSameStr(ASubText, Copy(AText, 1, Length(ASubText)));end;ASubText 是...
阅读全文
posted @ 2015-06-20 21:37 宝兰
阅读(210)
评论(0)
推荐(0)
返回书签 GotoBookmark
摘要: property Bookmark: TBookmark read GetBookmark write GotoBookmark;直接给Bookmark属性赋值,还是 调用数据集GotoBookmark方法,都是一样的。都是调用GotoBookmark
阅读全文
posted @ 2015-06-20 10:46 宝兰
阅读(475)
评论(0)
推荐(0)
数据集的.FieldNo
摘要: adoquery1.FieldNo 是从1 开始 计
阅读全文
posted @ 2015-06-20 07:20 宝兰
阅读(141)
评论(0)
推荐(0)
Nexcel的行列,和单元格坐标
摘要: book.Sheets[1].UsedRange.Rows.Count 行数从1开始book.Sheets[1].UsedRange.LastCol 从0开始book.Sheets[1].Cells.Item[1, ICol] 这个行列都是从1 开始的
阅读全文
posted @ 2015-06-20 06:09 宝兰
阅读(289)
评论(0)
推荐(0)
2015年6月17日
FR报表 FileName
摘要: 在设计或者打印预览时,如果设置了FileName,可能反而出错。procedure TfrxReport.ShowPreparedReport;var WndExStyles: Integer;begin FPreviewForm := nil; if FPreview nil then ...
阅读全文
posted @ 2015-06-17 20:58 宝兰
阅读(512)
评论(0)
推荐(0)
2015年6月10日
TMemo Ctrl + A
摘要: http://delphi.about.com/od/adptips2004/a/bltip0804_4.htmHere's how to implement the code for the CTRL+A key combination ("Select All") for TMemo or TD...
阅读全文
posted @ 2015-06-10 19:32 宝兰
阅读(364)
评论(0)
推荐(0)
2015年6月9日
TClientDataSet 的Filename 和 open方法
摘要: cdsAdd.Open 不能用open,因为这个是DataSet的通用方法,不会检测文件名的,文件名是CDS特有的
阅读全文
posted @ 2015-06-09 13:58 宝兰
阅读(200)
评论(0)
推荐(0)
2015年6月8日
System.Insert - 插入字符串
摘要: System.Insert - 插入字符串procedure Insert( Substr: String; {要插入的字符串; 可以是常量} var Dest: String; {源字符串} Index: Integer {从第几个字符前插入});举例:var ss,s: Wid...
阅读全文
posted @ 2015-06-08 11:53 宝兰
阅读(168)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
27
下一页
公告