Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Tubos,
16. Mai 2004
Der Code zum Text ausrichten funktioniert bei mir nicht:
procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);
procedure WriteText(StringGrid: TStringGrid; ACanvas: TCanvas; const ARect: TRect;
const Text: string; Format: Word);
const
DX = 2;
DY = 2;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Tubos,
16. Mai 2004
Hallo;
kann man in einem Stringgrid
a) die Schrift in den Zellen zentrieren?
b) Eine Hintergrundfarbe für einzelne Zeilen / Spalten oder Zellen festlegen?
Wenn ja, wie?