Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure TForm1.Button1Click(Sender: TObject);
- var
- Length: Integer;
- begin
- StringGrid1.Visible := True;
- Length := StrToInt(Edit1.Text);
- StringGrid1.ColCount := Length;
- StringGrid1.RowCount := Length;
- StringGrid1.FixedCols := 0;
- StringGrid1.FixedRows := 0;
- StringGrid1.Width := 40 * Length;
- StringGrid1.Height := 40 * Length;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement