Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi DBCombobox in einer DBGrid (https://www.delphipraxis.net/129350-dbcombobox-einer-dbgrid.html)

Thomas F 17. Feb 2009 16:33

Datenbank: Access • Zugriff über: ADO

DBCombobox in einer DBGrid
 
Hallo,

wie kann ich beim klicken auf eine Zelle in einer DBGrid eine DBCombobox

öffnen ?

Die DBCombobox soll natürlich in derselben Zelle geöffnet werden, die man angeklick hat (gleiche Breite und Höhe)

Das Ereignis lautet demnach

DBGrid1CellClick(Column: TColumn);

Nur woher bekomme ich die Koordinaten für die Zelle , damit ich die DBCombobox in das richtige Feld setze ???

Thomas F 17. Feb 2009 16:50

Re: DBCombobox in einer DBGrid
 
Ich habs schon gefunden, hier stehts wie es gemacht wird.

http://delphi.about.com/od/usedbvcl/l/aa101403a.htm


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:06 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz