Vcl.ActnList.TAction.HelpContext

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HelpContext;

C++

__property HelpContext = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ActnList.pas
Vcl.ActnList.hpp
Vcl.ActnList TAction

Description

Keeps the integer context ID that identifies the Help topic for the action.

Vcl.ActnList.TAction.HelpContext inherits from System.Actions.TContainedAction.HelpContext. All content below this line refers to System.Actions.TContainedAction.HelpContext.

Keeps the integer context ID that identifies the Help topic for the action.

HelpContext specifies the integer context ID to identify the Help topic to show when invoking Help for the action. The value of HelpContext can be propagated to all client controls and client menu items linked to the action. See also IsHelpLinked.

HelpContext is only used when htContext is selected in the HelpType property.

Note: To use Help, you need to enable Help in your application. When your application supports usage of the appropriate Help system, then it can show Help topics from the associated Help file. When a client control has focus and the user presses the F1 key, the control uses the value of the HelpContext property to invoke the online Help that shows the topic with this context ID. The target topic is uniquely identified by a HelpContext context ID value.

See Also