LazReport : Disable Ctrl+P when pbPrint:=False, from Javivf, issue #14971

git-svn-id: trunk@22434 -
This commit is contained in:
jesus 2009-11-04 19:35:47 +00:00
parent ef97e3ee6b
commit 61804fcfa3

View File

@ -911,7 +911,7 @@ begin
begin
if Chr(Key) = 'O' then LoadBtnClick(nil)
else if Chr(Key) = 'S' then SaveBtnClick(nil)
else if (Chr(Key) = 'P') and PrintBtn.Enabled then PrintBtnClick(nil)
else if (Chr(Key) = 'P') and PrintBtn.Visible then PrintBtnClick(nil)
else if Chr(Key) = 'F' then FindBtnClick(nil)
else if (Chr(Key) = 'E') and N5.Visible then EditBtnClick(nil)
end