TApplication.HelpContext function
Shows context-sensitive help for the application.
Declaration
function HelpContext(Context: THelpContext): BooleanDescription
HelpContext is a
Boolean function used to display
context-sensitive help for the specified help context. It calls the DoOnHelp
method to select and execute a help handler routine for the specified help
context. The routine may be one of the OnHelp event handlers found in the
active form or in TApplication. If neither are assigned, the application
handlers are checked for a routine using the ahtHelp handler type.
If the help context was handled in DoOnHelp, not additional actions are performed in the method. Otherwise, the ShowHelpOrErrorForContext is called to handle the help request.
The return value is False if the help context could not be handled using any of these options.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
