Recent

Author Topic: custom dbgrid columns fields  (Read 3103 times)

tintinux

  • Sr. Member
  • ****
  • Posts: 378
    • Gestinux
custom dbgrid columns fields
« on: April 26, 2011, 09:49:53 am »
Hi

I made a TCustomDbGrid descendant.

For now, I added all the published and public properties of TDbGrid.

This way, at design time, the property Columns is present, I can add columns and edit some of their properties, but there is nothing in the field drop downlist.

When I inherit from TDbGrid, it works fine and I can assign fields to columns.

I don't understand what I have to add, to inherit from TCustomDbGrid... Can someone explain to me ?


Thanks
Tintinux

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.

 

TinyPortal © 2005-2018