Ecco una nuovo muro da abbattere,
vorrei poter scrivere in una stringgrid colorando in testo all'interno,ma ho la necessità di usare colori diversi anche nella stessa cella,come posso fare?
girovagando ho trovato questa procedura
procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);
...
with StringGrid1.Canvas do begin
L := Rect.Left + 2;
Font.Color := clRed;
TextOut(L, Rect.Top + 2, S1);
L := L + TextWidth(S1);
Font.Color := clGreen;
TextOut(L, Rect.Top + 2, S2);
L := L + TextWidth(S1 + S2);
Font.Color := clBlue;
TextOut(L, Rect.Top + 2, S3);
end;
ma non è proprio quello che stavo cercando...qualcuno può darmi una dritta?