Die Suche ergab 4 Treffer

von kati4ver
Mo 23. Feb 2015, 18:32
Forum: Sonstiges
Thema: Identifier not found 'StringGrid1'
Antworten: 7
Zugriffe: 4220

Re: Identifier not found 'StringGrid1'

Danke Kolumna :D
von kati4ver
Mo 23. Feb 2015, 18:32
Forum: Sonstiges
Thema: Identifier not found 'StringGrid1'
Antworten: 7
Zugriffe: 4220

Re: Identifier not found 'StringGrid1'

oh man natürlich...
Da bedanke ich mich ganz ganz herzlich :)

habs jetzt einfach so:

Code: Alles auswählen

procedure TForm1.FormCreate(Sender: TObject);
begin
  StringGrid1.Cells[2,2]:='2';
end;
Sollte so erstmal passen :D danke
von kati4ver
Mo 23. Feb 2015, 18:13
Forum: Sonstiges
Thema: Identifier not found 'StringGrid1'
Antworten: 7
Zugriffe: 4220

Re: Identifier not found 'StringGrid1'

Oh sry.
Hier Bitte

Code: Alles auswählen

type
 
  { TForm1 }
 
  TForm1 = class(TForm)
    StringGrid1: TStringGrid;
  private
    { private declarations }
  public
    { public declarations }
  end;
 
var
  Form1: TForm1;
 
implementation
 
{$R *.lfm}
 
{ TForm1 }
 
 
begin
  StringGrid1.Cells[2,2]:='2';
end;
 
 
end.
von kati4ver
Mo 23. Feb 2015, 18:00
Forum: Sonstiges
Thema: Identifier not found 'StringGrid1'
Antworten: 7
Zugriffe: 4220

Identifier not found 'StringGrid1'

Hey Leute,
bevor ihr weiter lest, solltet ihr eure Lachmuskeln bereithalten.
Also: Bin grad wieder aufs Programmieren gekommen (so als Hobby) und fange wieder ziemlich von Anfang an an. Dafür möchte ich an einer StringGrid einfach nur einstellen das in StringGrid1.Cells[2,2]:='2'; steht.
Geht aber ...