Recent

Author Topic: grids.pas is dbAware ??  (Read 1370 times)

tintinux

  • Sr. Member
  • ****
  • Posts: 325
    • Gestinux
grids.pas is dbAware ??
« on: October 04, 2018, 04:21:09 pm »
Hi

Why can we read at the beginning of lcl/grids.pas

Code: Pascal  [Select][+][-]
  1.                                Grids.pas
  2.                                ---------
  3.                      An interface to DB aware Controls

I believe that Grids.pas is not dbAware, only dbGrids is...

Best regards
Initiator of gestinux, open-source, multi-database and multilingual accounting and billing software made with LAZARUS.

You can help to develop, to make and improve translations, and to provide examples of legal charts and reports from more countries.

Soner

  • Sr. Member
  • ****
  • Posts: 305
Re: grids.pas is dbAware ??
« Reply #1 on: October 04, 2018, 06:28:58 pm »
No it isn't. You can read same in dbgrids.pas.
Maybe the developer (Jesus?) wrote the header first in dbgrids.pas then copied it to grids.pas.

Here is from dbgrids.pas
Code: Pascal  [Select][+][-]
  1. {
  2.  /***************************************************************************
  3.                                DBGrids.pas
  4.                                -----------
  5.                      An interface to DB aware Controls
  6.                      Initial Revision : Sun Sep 14 2003
  7.  
  8.  
  9.  ***************************************************************************/
  10.  
  11.  *****************************************************************************
  12.   This file is part of the Lazarus Component Library (LCL)
  13.  
  14.   See the file COPYING.modifiedLGPL.txt, included in this distribution,
  15.   for details about the license.
  16.  *****************************************************************************
  17. }
  18.  

Here from grids.pas
Code: Pascal  [Select][+][-]
  1. {
  2.  /***************************************************************************
  3.                                Grids.pas
  4.                                ---------
  5.                      An interface to DB aware Controls
  6.                      Initial Revision : Sun Sep 14 2003
  7.  
  8.  
  9.  ***************************************************************************/
  10.  
  11.  *****************************************************************************
  12.   This file is part of the Lazarus Component Library (LCL)
  13.  
  14.   See the file COPYING.modifiedLGPL.txt, included in this distribution,
  15.   for details about the license.
  16.  *****************************************************************************
  17. }
  18.  

 

TinyPortal © 2005-2018