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 Automatische Spaltenbreite beim AdvStringGrid? (https://www.delphipraxis.net/116479-automatische-spaltenbreite-beim-advstringgrid.html)

Grolle 30. Jun 2008 11:42


Automatische Spaltenbreite beim AdvStringGrid?
 
Hallo,

kann mir jemand sagen, was ich beim AdvStringGrid einstellen muss, damit die (Zellen)Spaltenbreite
automatisch angepasst wird?

Viele Grüße ...

Grolle 30. Jun 2008 12:15

Re: Automatische Spaltenbreite beim AdvStringGrid?
 
Wie peinlich:
Delphi-Quellcode:
ResultGrid.AutoSize := true;
:oops:

mquadrat 30. Jun 2008 15:35

Re: Automatische Spaltenbreite beim AdvStringGrid?
 
Falls du es nicht generell, sondern nur in bestimmten Momenten möchtest

Delphi-Quellcode:
grid.AutoSizeColumns(true, 10);


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