Lazarus
Miscellaneous => Suggestions => LCL => Topic started 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
-
AFAIK there is no such thing yet.
-
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.
-
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
-
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?
-
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.
-
Hi,
I'm also highly interested in such a component.
Any Information how far the Cloning Process of TDBCtrlgrid has grown ?
Regards
CharlyTango
-
Hi !
I'm just want to keep this thread alive ... :D
-
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