[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.HelpContext

The numeric context-sensitive Help identifier for the control.

Declaration

Source position: controls.pp line 1857

published property TControl.HelpContext : THelpContext
  read FHelpContext
  write SetHelpContext
  stored IsHelpContextStored
  default 0;

Description

HelpContext is an Integer property with the numeric identifier used to locate and display a context-sensitive help topic for the control. The default value for the property is 0 (zero).

Setting a new value for the property causes HelpType to be changed to htContext.

HelpContext is used in the ShowHelp method, and passed as an argument to the HelpContext method in the Application singleton.

Use HelpKeyword to specify a string value with the help topic displayed for the control.

Use the HelpFile property, found on the parent form or in a TApplicationProperties instance, to set the help file with the content for the help topic.

See also

TControl.HelpKeyword

  

The context-sensitive Help keyword for the control.

TControl.HelpType

  

Indicates whether context-sensitive Help is selected by numeric ID or keyword.

TControl.ShowHelp

  

Displays the help associated with the control.

TApplication.HelpKeyword

  

Shows help for the specified keyword.

TApplicationProperties.HelpFile

  

Contains the name for the help file in an application.

TCustomForm.HelpFile

  

The name of the help file for the form.


Version 3.2 Generated 2024-02-25 Home