Make sure the KeyPreview property is set to True on the form.  Capture the
press in
OnKeyDown.

if Key = VK_F5 then
  // blah

HTH,

JED

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to