EhLib
ContentsIndexHome
PreviousUpNext
Converting existing TDBGrid component to TDBGridEh
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:

  1. Open Form with TDBGrid component in Delphi IDE.
  2. Open Form as Text (Alt-F12).
  3. Rename all TDBGrid objects to TDBGridEh ('object DBGrid1: TDBGrid' -> 'object DBGrid1: TDBGridEh').
  4. Switch to view Form back as a Form (Alt-F12).
  5. Rename all TDBGrid objects in Form declaration to TDBGridEh ('DBGrid1: TDBGrid;' -> 'DBGrid1: TDBGridEh;' ).
  6. Try to recompile project.
Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!