Autor Beitrag
DelphiDome
Hält's aus hier
Beiträge: 15



BeitragVerfasst: Do 24.06.10 19:06 
Hallo!
Wie kann man in eine StringGrid schreiben (so wie in ein Memo oder so was in der Art).
Schon mal Danke im Voraus


Moderiert von user profile iconNarses: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mi 30.06.2010 um 12:49
ffgorcky
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 573

WIN XP/2000 & 7Prof (Familie:Win95,Win98)

BeitragVerfasst: Do 24.06.10 19:20 
Meinst Du das nur in etwa so?:
ausblenden Delphi-Quelltext
1:
MyStringGrid.Cells[x, y] := 'Wert als String';					
DelphiDome Threadstarter
Hält's aus hier
Beiträge: 15



BeitragVerfasst: Do 24.06.10 19:33 
was
my life
Hält's aus hier
Beiträge: 5
Erhaltene Danke: 1



BeitragVerfasst: Mi 30.06.10 12:16 
Das ist der Befehl :)

MyStringGrid steht hier für den Namen. X und Y für die Zeilen und Spalten.

Beispiel:
ausblenden Delphi-Quelltext
1:
StringGrid1.Cells[0,0]:='Das steht im StringGrid';					

Für diesen Beitrag haben gedankt: DelphiDome
DelphiDome Threadstarter
Hält's aus hier
Beiträge: 15



BeitragVerfasst: Mi 30.06.10 15:53 
danke
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 30.06.10 16:01 
Moin und :welcome: im Forum!

Markierst du den Thread noch entsprechend, wenn dein Problem gelöst ist? Danke. ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.