Peter,

I havent used pagecontrol, I use other notebooks.  Hasiut it got 
different help contexts for different pages ?

If not, then its better to change the forms helpcontext on 
pagechange event.

To:                     Multiple recipients of list delphi <[EMAIL PROTECTED]>
Send reply to:          [EMAIL PROTECTED]
From:                   "Peter Hyde" <[EMAIL PROTECTED]>
Organization:           SPIS Ltd and WebCentre Ltd
Date sent:              Mon, 18 Jun 2001 17:06:12 +1200
Subject:                [DUG]:  keypreview and trapping F1
Priority:               normal

> 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"
> 


Regards

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

---------------------------------------------------------------------------
    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