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

# TControl.HelpType

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

## Declaration

Source position: controls.pp line 1847

`published property TControl.HelpType : THelpType read FHelpType write FHelpType default htContext;`

## Description

HelpType is a THelpType property which indicates the mechanism used to locate and display a help topic for the control.

htKeyword
  Uses the value in HelpKeyword to locate help content for the control.
htContext
  Uses the numeric identifier in the HelpContext property to locate help content for the control.

The default value for the property is htContext.

The value in HelpType is updated when an explicit value is assigned to the HelpKeyword or HelpContext properties.

HelpType is used in the ShowHelp method to select the TApplication method called to display the help content. When set to htContext, the HelpContext method in Application is called. When set to htKeyword, the HelpKeyword method in Application is called. If the help request cannot be handled using the values assigned to the control, the ShowHelp method in Parent is called (when assigned).

## See also

TControl.HelpContext |  | The numeric context-sensitive Help identifier for the control.
TControl.HelpKeyword |  | The context-sensitive Help keyword for the control.
TApplication.HelpContext |  | Shows context-sensitive help for the application.
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.
THelpType