Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi StringGrids Zellen mal anders (https://www.delphipraxis.net/100443-stringgrids-zellen-mal-anders.html)

meiner einer 28. Sep 2007 10:43


StringGrids Zellen mal anders
 
Hallo,

ich möchte in einem Stringgrid einzelne Zellen speziell formatieren können.
z. B. soll die Celle[1,1] den Text zentriert sein. Die Celle[2,1] soll eigentlich keine normale Zelle sondern eine Combobox sein.

Geht das irgendwie, dass ich eine bestimmtes Objekt wie hier z.B. ein Label oder eine Combobox in genau eine spezielle Zelle meines Grids stecke? Oder ist die Lösungsmöglichkeit eine ganz andere?

Ich hab schon eine weile rumgemurxt, hab aber nichts zusammengebracht - freue mich über Tipps, es geht wahrscheinlich ganz einfach?!

Grüße Martin

s-off 28. Sep 2007 10:51

Re: StringGrids Zellen mal anders
 
Hallo,

immer wieder das Gleiche - zur Info: dieses Forum hat eine Suchfunktion :!:

Stichwort: DrawCell

JonnyGuitar 28. Sep 2007 10:58

Re: StringGrids Zellen mal anders
 
ich würde ein weiteres stichwort namens "canvas" hinzufügen :)


mfg Jonny


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:18 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