TDBGrid to TDBGridEh converting
Less than 1 minute
Converting existing TDBGrid component to TDBGridEh
Although TDBGridEh is not inherited from TCustomDBGrid component, there are many alike properties in TDBGridEh and in TDBGrid.
It allows us to convert existing TDBGrid component to TDBGridEh with minimum losses.
To convert existing TDBGrid component to TDBGridEh follow next instructions:
- Open
FormwithTDBGridcomponent inDelphi IDE. - Open Form as Text
(Alt-F12) - Rename all
TDBGridobjects toTDBGridEh('object DBGrid1: TDBGrid' -> 'object DBGrid1: TDBGridEh') - Switch to view
Formback as aForm(Alt-F12). - Rename all
TDBGridobjects inFormdeclaration toTDBGridEh('DBGrid1: TDBGrid;' -> 'DBGrid1: TDBGridEh;' ). - Try to recompile the project.
