Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by youuu,
26. Mai 2009
Eine Sache funktioniert leider aber immernoch nicht.
Wenn ich im Event "FormPaint" die Größe abtesten und einstelle, dann allerdings später Daten eintrage und wieder die Größe abtaste
ändert sich die Cellen Weite nicht mehr.
for i:=0 to RowCustomer - 1 do
begin
StringGridKunden.Cells := UTF8ToString(QueryCustomer.FieldByName('title').AsString);
if...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by youuu,
26. Mai 2009
Ah ok dann wird es das gewesen sein.
Danke
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by youuu,
26. Mai 2009
Habe Editiert
StringGridKunden.ColWidths := canvas.TextWidth(StringGridKunden.Cells) + 10;
Muss ich machen damit das komplette Wort sichtbar ist
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by youuu,
26. Mai 2009
Ich brauch nicht die Höhe sondern die "weite" logischerweise ;)
Allerdings klappt
StringGridKunden.ColWidths := canvas.TextWidth(StringGridKunden.Cells);
nicht.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by youuu,
26. Mai 2009
Hi,
wie kann man es bewergstelligen, das stringgrid sich automatisch der größe der Wörter anpasst?