随笔- 267
文章- 27
评论- 28
阅读-
10万
03 2015 档案
DELPHI 5种运行程序的方法具体应用实例(带参数)
摘要:http://www.02t.cn/article/code/102.htmlhttps://msdn.microsoft.com/en-us/library/windows/desktop/ms687393(v=vs.85).aspx一段代码,从2007转到XE 下,编译,运行,发现WinExec...
阅读全文
Disabling the Windows 8 UAC
摘要:http://www.computerperformance.co.uk/win8/windows8-uac-disable.htmhttps://msdn.microsoft.com/en-us/library/cc232765.aspx
阅读全文
EHlib在数据单元中显示字段值为图形。
摘要:-【定制网格数据单元】 在数据单元中显示字段值为图形。 TDBGridEh allows to show bitmaps from TImageList component depending on field values. TDBGridEh 可以根据字段的值显示TImageList 组件中...
阅读全文
用sql + Ado设置access的字段的默认值
摘要:procedure TFormLOrder.ModifyDB;var F: Integer;begin with TADOQuery.Create(nil) do try// ConnectionString := GetAdoAccConStr(SoftPath + SendDataD...
阅读全文
TClientDataSet的FileName属性
摘要:读取cds文件数据。FileName一定要在设计时输入,否则程序运行时,不会自动读取cds文件。因为FORM创建时,数据集组件也相应创建,如果是在运行时 设置FileName,那么是在数据集组件创建好后 才能给FileName赋值,所以不会自动读取cds文件。这样的话,就是不灵活,因为IDE下,没法...
阅读全文
TClientDataSet的 AddIndex
摘要:unit Unit2;interfaceuses SysUtils, Classes, DB, DBClient;type TDataModule2 = class(TDataModule) ClientDataSet1: TClientDataSet; DataSource1: T...
阅读全文
EhLib 的 DbgridEh 影响 其他数据集的Open方法
摘要:DbgridEh 对应数据集ADOTable1,其中有个字段 部门编码,另外增加查找字段比如 部门名称ADOTable2对应查找数据集,包含 部门编码和 部门名称字段。ADOTable1 打开后,再运行ADOTable2.Close;ADOTable2.Open;后记录不是在第一个,需要再ADOTa...
阅读全文
EhLib TitleButton SVisibleColumnsEh = '错误的列';
摘要:unit EhLibConsts;interfaceresourcestring SClearSelectedCellsEh = '清除选择的单元?'; SInvalidTextFormatEh = '错误的文本格式'; SInvalidVCLDBIFFormatEh = '错误的 VCLDB...
阅读全文
EhLib的行Checkbox
摘要:方法1http://www.cnblogs.com/jupt/p/4291902.html在Indicator中添加动态Checkbox,无需绑定数据源,支持全选 - Ehlib学习(二)先做设置DBGrideh属性设置:IndicatorOptions =[gioShowRowIndicatorE...
阅读全文