Einzelnen Beitrag anzeigen

Benutzerbild von SaFu
SaFu

Registriert seit: 8. Nov 2006
1.360 Beiträge
 
Delphi 10.3 Rio
 
#9

Re: StringGrid eingabe an Edit

  Alt 5. Feb 2007, 19:28
Habe es mal mit allem versucht, beim Value wird es für das ganze StringGrid übernommen und nicht nur für eine ganz bestimmte Spalte und es überschreibt jedesmal das Edit.

Die andere lösung ist sehr aufwendig und es werden immer die lehrzeichen mitgenommen

Delphi-Quellcode:
Edit1.Text := '';
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,1];
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,2];
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,3];
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,4];
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,5];
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,6];
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,7];
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,8];
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,9];
 Edit1.Text := Edit1.Text + ' ' + StringGrid1.Cells[12,10];
Gibt es da noch eine andere lösung?????
"... Wie gesagt, die Nutzer von 10, 12, 14 Zoll Display's werden deine Seite nicht in voller Pracht sehen können, ...

Surft Ihr mit dem Taschenrechner?"
  Mit Zitat antworten Zitat