Event fired when the user presses F1 while an object has focus, instead of context-sensitive help.

Parameters

none

Property of

Most form objects

Description

Use onHelp to override the built-in context-sensitive help system (based on the helpFile and helpId properties) and execute your own code when the user presses F1. For example, you might use onHelp if you have not yet written a Help file, if the help you want to give is very simple, or you want dBASE Plus to drive the help (as you would with an online assistant).

As with context-sensitive help, if you assign an onHelp event handler to a form, that is the default handler for all the controls in the form. Each control may then have its own onHelp if necessary; otherwise, the form’s onHelp is fired when the user presses F1.