键盘响应(F1)
if Key = VK_F1 then
begin
ShellExecute(0,'open','safe.chm',nil,nil,SW_SHOW);
end;
if Key = #112 then
begin
ShellExecute(0,'open','safe.chm',nil,nil,SW_SHOW);
end;
if Key = chr(VK_F1) then
begin
ShellExecute(0,'open','safe.chm',nil,nil,SW_SHOW);
end;
请高手指点,总是提示类型不匹配。