Recent

Author Topic: something similar to TDBCtrlgrid?  (Read 13292 times)

Rascayu

  • Guest
something similar to TDBCtrlgrid?
« on: December 15, 2005, 06:12:40 pm »
Sorry, my english is very poor,
i programming a few with delphi and use the control TDBCtrlgrid,
is a way to use something similar in Lazarus?

thanks

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2496
RE: something similar to TDBCtrlgrid?
« Reply #1 on: December 16, 2005, 01:46:07 pm »
AFAIK there is no such thing yet.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
RE: something similar to TDBCtrlgrid?
« Reply #2 on: December 16, 2005, 07:20:06 pm »
There is TDBGrid. A DataAware grid. Just connect it to a DataSource using the datasource property.

It might not be what you are looking for however.

Anonymous

  • Guest
something similar to TDBCtrlgrid?
« Reply #3 on: January 20, 2006, 10:51:57 am »
REally i'm migratin a aplication from ms access and in a form present the information with the option of continuos form because y insert some combos and ole objects (is necessary for the type of work).
i find in the delphi the most similar was the tdbctrlgrid insert another controls in the column of the grid.

this is posible with lazarus ?

thanks

papelhigienico

  • New Member
  • *
  • Posts: 18
    • PascalSCADA
Re: something similar to TDBCtrlgrid?
« Reply #4 on: December 12, 2013, 11:49:04 am »
Hi All!!

I'm starting a clone (not a copy) of TDBCtrlGrid of Delphi. Now, I'm creating the base of TDBCtrlGrid and I'm testing it on form designer of Lazarus, without success. I can't put any control on the sub panel (that will be replicated for each row of dataset).

At the moment, I created two classes to do this: TDBCtrlGridRowDesigner and TDBCtrlGrid.

The main line on constructor of TDBCtrlGridRowDesigner is that:

ControlStyle := ControlStyle + [csAcceptsControls, csCaptureMouse, csClickEvents, csDoubleClicks, csOpaque, csReplicatable ] ;

That allows the subpanel receive new child controls and allow it to be painted with PaintTo procedure...

And in the constructor of TDBCtrlGrid, the main lines are that:

ControlStyle := ControlStyle + [csDoubleClicks, csOpaque] ;
TabStop := true;
... initial size
... creation of sub panel using the DBCtrlGrid as Parent.

My Question is: I need override any other procedure/function to tell to IDE that the parent of controls inserted inside of subpanel will have the subpanel as parent?

patyi

  • Full Member
  • ***
  • Posts: 169
Re: something similar to TDBCtrlgrid?
« Reply #5 on: October 03, 2014, 09:35:53 pm »
Hi papelhigienico !

I'm migrate one of my application from Delphi 7, is largely depend from DBCtrlGrid component.

Have any progress with it ? Are You willing to share the code ?
Can I help to finish, testing or anything ?

I'd really appreciate your help !

Best regards, Patyi.

CharlyTango

  • New Member
  • *
  • Posts: 20
Re: something similar to TDBCtrlgrid?
« Reply #6 on: November 15, 2014, 07:33:49 pm »
Hi,

I'm also highly interested in such a component.
Any Information how far the Cloning Process of TDBCtrlgrid has grown ?

Regards
CharlyTango

patyi

  • Full Member
  • ***
  • Posts: 169
Re: something similar to TDBCtrlgrid?
« Reply #7 on: December 03, 2014, 08:00:43 pm »
Hi !

I'm just want to keep this thread alive ...  :D

patyi

  • Full Member
  • ***
  • Posts: 169
Re: something similar to TDBCtrlgrid?
« Reply #8 on: March 15, 2015, 08:09:07 am »
Hi !

If someone is interested in a similar component like DBCtrlGrid, take a look at the link below.

http://forum.lazarus.freepascal.org/index.php/topic,27523.msg171596.html#msg171596