?? unit3.pas
字號(hào):
unit Unit3;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Grids;
type
TForm3 = class(TForm)
StringGrid1: TStringGrid;
Label1: TLabel;
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form3: TForm3;
implementation
uses unit1;
{$R *.DFM}
procedure TForm3.FormShow(Sender: TObject);
var i:integer;
begin
form1.readrecord;
for i:=1 to 10 do
begin
stringgrid1.cells[0,i-1]:='第'+inttostr(i)+'名'+' '+arr[i].name+'------'+inttostr(arr[i].time div 60)+'分'+inttostr(arr[i].time mod 60)+'秒';
end;
end;
end.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -