<div dir="ltr"><div>Hi all!</div><div><br></div><div>I started the TDBCtrlGrid implementation some days ago. At this point, I don't know if I'm doing some mistake or if Lazarus has a bug. The problem is that I can't put any controls on TDBCtrlGrid area, but I can put controls with csReplicatable in ControlStyle inside a "RowPanel" (TDBCtrlGridRow class) that is a control that will be used to draw rows, BUT LAZARUS don't do this!!</div>
<div><br></div><div>TDBCtrlGrid is created with </div><div><br></div><div>ControlStyle := [csOpaque, csDoubleClicks];</div><div><br></div><div>and TDBCtrlGridRow is created with</div><div><br></div><div>ControlStyle := [csAcceptsControls, csCaptureMouse, csClickEvents,</div>
<div> csDoubleClicks, csOpaque, csReplicatable];</div><div><br></div><div><br></div><div>Logically, the row panel must accept controls, but TDBCtrlGrid NOR TDBCtrlGridRow accepts controls. </div><div><br></div><div>If this is a bug, tell me and I will open a new bug on Lazarus BugTracker. If not, tell me what I'm doing wrong...</div>
<div><br></div><div>Initially, all tests are done in Lazarus 1.0.8 fpc 2.6.2 Win32 on a Windows 2003 server 32 bits.</div><div><div><br></div>-- <br>The best regards,<br><br>Fabio Luis Girardi<br>PascalSCADA Project<br><a href="http://sourceforge.net/projects/pascalscada" target="_blank">http://sourceforge.net/projects/pascalscada</a><br>
<a href="http://www.pascalscada.com" target="_blank">http://www.pascalscada.com</a>
</div></div>