Witam. Mam problem z utworzeniem tabeli (stringgrid). Nie wiem dlaczego ten kod nie działa.
type
TForm5 = class(TForm)
StringGrid1: TStringGrid;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form5: TForm5;
implementation
{$R *.dfm}
procedure TForm5.FormCreate(Sender: TObject);
begin
StringGrid1.Cells[0,0]:='kolumna 1';
StringGrid1.Cells[1,0]:='kolumna 2';
StringGrid1.Cells[2,0]:='kolumna 3';
StringGrid1.Cells[3,0]:='kolumna 4';
StringGrid1.Cells[4,0]:='kolumna 5';
end;