ehlib3.6Source

所属分类:Pascal/Delphi编程
开发工具:Delphi
文件大小:1022KB
下载次数:9
上传日期:2010-09-21 10:13:41
上 传 者hehf
说明:  EhLib 3.6源码 中文EhLib 3.6源码
(EhLib 3.6 Source)

文件列表:
ehlibcn\PrnDbgEh.dcu (64687, 2010-09-16)
ehlibcn\PrnDbgeh.Int (6719, 2005-01-11)
ehlibcn\PrnDbgeh.pas (116009, 2005-01-11)
ehlibcn\PrnDGDlg.dcu (5834, 2010-09-16)
ehlibcn\PrnDgDlg.ddp (51, 2005-07-13)
ehlibcn\PrnDgDlg.dfm (2771, 2005-07-13)
ehlibcn\PrnDgDlg.Int (1690, 2005-01-11)
ehlibcn\PrnDgDlg.pas (2474, 2005-07-13)
ehlibcn\PrntsEh.dcu (6039, 2010-09-16)
ehlibcn\PrntsEh.Int (3542, 2005-01-11)
ehlibcn\PrntsEh.pas (7188, 2005-05-13)
ehlibcn\PropFilerEh.dcu (37066, 2010-09-16)
ehlibcn\PropFilerEh.Int (6065, 2005-01-11)
ehlibcn\PropFilerEh.pas (55608, 2005-05-07)
ehlibcn\PropStorageEditEh.dcu (47702, 2010-09-16)
ehlibcn\PropStorageEditEh.dfm (15833, 2003-01-04)
ehlibcn\PropStorageEditEh.Int (7830, 2005-01-11)
ehlibcn\PropStorageEditEh.pas (45780, 2005-05-07)
ehlibcn\PropStorageEh.dcu (29956, 2010-09-16)
ehlibcn\PropStorageEh.Int (7342, 2005-01-11)
ehlibcn\PropStorageEh.pas (35598, 2005-05-07)
ehlibcn\PrvFrmEh.dcu (12731, 2010-09-16)
ehlibcn\PrvFrmEh.ddp (51, 2005-07-13)
ehlibcn\PrvFrmEh.dfm (16000, 2005-07-13)
ehlibcn\PrvFrmEh.Int (2996, 2005-01-11)
ehlibcn\PrvFrmEh.pas (9805, 2005-01-11)
ehlibcn\PrViewEh.dcu (25359, 2010-09-16)
ehlibcn\PrViewEh.Int (7954, 2005-01-11)
ehlibcn\PrViewEh.pas (34083, 2005-02-20)
ehlibcn\PrviewEh.res (848, 1999-06-08)
ehlibcn\RichEdEh.dcu (26568, 2010-09-16)
ehlibcn\RichEdEh.dfm (21122, 2000-02-19)
ehlibcn\RichEdEh.Int (5188, 2005-01-11)
ehlibcn\RichEdEh.pas (16571, 2005-01-11)
ehlibcn\ToolCtrlsEh.dcu (90056, 2010-09-16)
ehlibcn\ToolCtrlsEh.Int (25497, 2005-01-11)
ehlibcn\ToolCtrlsEh.pas (125457, 2005-05-07)
ehlibcn\DclEhLib70.~dpk (801, 2007-09-12)
ehlibcn\EhLib60.dpk (1322, 2007-09-17)
ehlibcn\EhLib60.dof (1139, 2007-09-17)
... ...

This directory(EhLib\DataService) contains files with objects that will allow the developer to SORT and FILTER data in various types of different datasets. TDBGridEh uses these objects to sort the data when sort markers are changed and to filter data when subtitle filter (STFitler) is visible. If you change the grid title for sortmarking, but don't write an OnSortMarkingChanged event, the grid will attempt to sort the data automatically. DBGridEhDataService will attempt to find the special object that can sorts data in the specified type of TDatsetSet using function GetDatasetFeaturesForDataSet. As you know, TDataSet does not support sorting data, but descendant objects such as TQuery or TClientDataSet allows you to do it. By using the procedure RegisterDatasetFeaturesEh, you can register the TDatasetFeaturesEhClass class that can sort data in the specified type of DataSet. EhLib already has classes that can sort data in TQuery, TADOQuery and TClientDataSet objects. Simply add one of the units EhLib... (EhLibBDE, EhLibADO, EhLibCDS) to the 'uses' clause of the unit containing the DBGridEh of your project and the grid will automatically sort the data in a DataSet. EhLib... unit have code in the initialization part of the unit that register T...DatasetFeaturesEhClass for according to the type of the DataSet. EX. TBDEDatasetFeaturesEh for TQuery. For other types of datasets, you need to write and register a new object that will enable you to sort data in that DataSet. Writing a procedure T[YouDataSet]DatasetFeaturesEh.ApplySorting, you can access a list of columns whose sortmarkers have up/down direction using the SortMarkedColumns property. See the DbUtilsEh unit to understand how to write the T[YouDataSet]DatasetFeaturesEh class. See the EhLibBDE unit to see how to register T[YouDataSet]DatasetFeaturesEh class. Engine DataSet FileName BDE TQuery EhLibBDE ADO TADOQuery EhLibADO ClientDataSet TClientDataSet EhLibCDS DBExpress TSQLQuery EhLibDBX InterBase Express TIBQuery EhLibIBX

近期下载者

相关文件


收藏者