What's new in EhLib.VclFmx 12.0
What's new in EhLib.VclFmx 12.0
Introduction
The EhLib.VclFmx 12.0 library includes all the components and functionality of the EhLib.VCL library version 11.1. However, to separate the functionality into platform-independent and platform-dependent on the Win32/Win64 platform, the following changes were made to EhLib.VclFmx 12.0:
The EhLib.VCL 11.1 library included one main package EhLibXXX.bpl which contained components and controls compatible with the VCL core library.
The EhLib.VlcFmx 12.0 library includes three main packages:
EhLibRtlcross-platform package compatible with the Embarcadero base library – Rtl (Run-time library). Contains such non-visual components asTMemTableEh,TDataSetDriver, etc. The package can compile underWin32,Win64,Android32,Android64,iOS64,OSX64,Linux64platforms.EhLibVclpackage of visual components for theWin32,Win64platform compatible with the basic VCL library. The package includes all visual components that were included in theEhLib 11.1library, including theTDBGridEhcomponent.EhLibFmxa package of visual components for theWin32,Win64,Android32,Android64,iOS64,OSX64,Linux64platforms compatible with theFireMonkey(Fmx) base library. At the moment, the library includes one visual component –TDataGridEh.
The original pas files from the EhLibRtl and EhLibVcl modules remained compatible with the LCL base library of the Lazarus software environment.
Support for RAD Studio 2009 has been removed. The minimum supported version of RAD Studio is RAD Studio 2010.
The multi-platform graphics package EhLibFmx is available in RAD Studio 11.3 and higher.
EhLib.VCL software renamed to EhLib.VclFmx.
Changes in names of modules (pas, dcu files), classes and methods.
The
EhLibVclmodule is divided into two modules -EhLibVclUtilsandEhLibUtils. TheEhLibVclUtilsmodule has been moved to theEhLibVclpackage and contains methods and classes tied to theVCLgraphics library. TheEhLibUtilsmodule has been moved to theEhLibRtlpackage and contains methods and classes independent of the graphics framework.Module
EhLibMTE.pasrenamed toEhLibVclMTE.pasModule
EhLibADO.pasrenamed toEhLibVclADO.pasModule
EhLibBDE.pasrenamed toEhLibVclBDE.pasModule
EhLibCDS.pasrenamed toEhLibVclCDS.pasModule
EhLibDBX.pasrenamed toEhLibVclDBX.PasModule
EhLibFIB.pasrenamed toEhLibVclFIB.pasModule
EhLibFireDAC.pasrenamed toEhLibVclFireDAC.pasModule
EhLibIBX.pasrenamed toEhLibVclIBX.pasA new module
DBGridEh.DBUtilshas been added to theEhLibVclpackage. The classesTDatasetFeaturesEh,TSQLDatasetFeaturesEh,TCommandTextDatasetFeaturesEhand the proceduresRegisterDatasetFeaturesEh,GetDatasetFeaturesForDataSet,DefaultLocateDatasetTextEh,ApplySortingForSQLBasedDataSet,ApplyFilterSQLBasedDataSet,GetExpressionAsFilterStringfrom theDBUtilsEhmodule have been moved to this module.The
TDatasetFeaturesEhclass has been renamed toTDBGridDatasetFeaturesEh.Класс
TSQLDatasetFeaturesEhrenamed toTDBGridSQLDatasetFeaturesEh.The
RegisterDatasetFeaturesEhprocedure has been renamed toRegisterDBGridDatasetFeaturesEh.The
GetDatasetFeaturesForDataSetprocedure has been renamed toGetDBGridDatasetFeaturesForDataSet.In
Lazarusprojects, references to theDBGridsEhmodule must be renamed toDBGridEh. The originalDBGridEh.pasmodule is no longer renamed toDBGridsEh.paswhen porting packages toLazarus.The
EhLibInstallerapplication now has the ability to uninstall the library from theRAD Studio IDE.
What's new in EhLib 12 Vcl section
The
DataSourceproperty type has been changed in theTDBGridEhcontrol. Now this property has theTComponenttype and components of theTDataSourceorTDataSettype can be assigned to this property. To link theTDBGridEhcontrol andTDataSet, you do not need the intermediateTDataSourcecomponent. Assign your DataSet (TQuery,TFDQuery) to theTDBGridEh.DataSourceproperty.Due to the change of the
TDBGridEh.DataSourceproperty type to theTComponenttype in your project, you need to change the references of theDBGridEh1.DataSource.DataSettype toDBGridEh1.DataSetor to theDBGridEh1.DBDataSource.DataSetstring. TheDataSetproperty of theTDataSettype has been added toTDBGridEh, which refers to theDataSetthat is in theDBGridEh-DataSource-DataSetchain. If you need to get a reference to theDataSourcethat is an instance of theTDataSourceclass, use theTDBGridEh.DBDataSourceproperty.
What's new in EhLib 12 Fmx section
- Added new package -
EhLibFmx. - Added new component -
Fmx.TDataGridEh.
