Autor Beitrag
AceTheFace
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: Mo 26.08.02 14:51 
Hallo,

wie kann ich denn die breite einer bestimmten Spalte in einem StringGrid einstellen?
Ich habe bis jetzt nur die Option " Default Col Width " entdeckt, die aber ja leider alle Spalten gleich breit macht.
Auch die Delphi-Hilfe hat mir nicht wirklich was gebracht.

Gruss,

Ace
ao
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 145

Win XP Prof.
D7 Ent.
BeitragVerfasst: Mo 26.08.02 15:28 
Hallo AceTheFace,

versuch's mal so:StringGrid1.ColWidths[1] := 50;Damit wird z.B. die Breite der zweiten Spalte auf 50 gesetzt.

Gruß
Andreas
AceTheFace Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: Mo 26.08.02 16:15 
Eigentlich logisch :D

Dankeschön!

Gruss,

Ace