Lazarus

Miscellaneous => Suggestions => LCL => Topic started by: Rascayu on December 15, 2005, 06:12:40 pm

Title: something similar to TDBCtrlgrid?
Post by: Rascayu 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
Title: RE: something similar to TDBCtrlgrid?
Post by: Marc on December 16, 2005, 01:46:07 pm
AFAIK there is no such thing yet.
Title: RE: something similar to TDBCtrlgrid?
Post by: felipemdc 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.
Title: something similar to TDBCtrlgrid?
Post by: Anonymous 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
Title: Re: something similar to TDBCtrlgrid?
Post by: papelhigienico 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?
Title: Re: something similar to TDBCtrlgrid?
Post by: patyi 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.
Title: Re: something similar to TDBCtrlgrid?
Post by: CharlyTango 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
Title: Re: something similar to TDBCtrlgrid?
Post by: patyi on December 03, 2014, 08:00:43 pm
Hi !

I'm just want to keep this thread alive ...  :D
Title: Re: something similar to TDBCtrlgrid?
Post by: patyi 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
TinyPortal © 2005-2018