|
|
#2
sky_yang_sky2007-10-18 08:20
|
刚介入DELPHI,看到这样一块代码,求高手给下各句的意思~~
procedure TInsertSortForm.Edit1KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if (Key=VK_RETURN) then
begin
if Edit1.Text <>'' then
N:=StrtoInt(Edit1.text);
Edit1.Text := '';
SingleChainList.InsertSorting (N);
end;
end;
