Hi there,
  In a D5 project I'm not finding it possible to trap the F1 key to give 
context-sensitive help. Instead, it is always going to the form's 
HelpContext.  (I need to vary the help context according to which 
tab of a PageControl is active).

The form's KeyPreview property is set to true and a FormKeyDown 
event is defined -- however, the latter event is NOT called for F1, 
even though it is called for other keys like Alt, Shift, "S" or 
whatever.

I've not had this problem before -- can anyone suggest what I've got 
amiss? Something obvious, no doubt...


cheers,
peter

============================================
Peter Hyde, WebCentre Ltd & SPIS Ltd, Christchurch, New Zealand
* Web automation for online periodicals: http://TurboPress.com
* TurboNote+: http://TurboPress.com/tbnote.htm
  -- handy onscreen notes and instant messaging
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to