Vcl.Menus.TMenuItem.HelpContext

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HelpContext: THelpContext read FHelpContext write FHelpContext stored IsHelpContextStored default 0;

C++

__property System::Classes::THelpContext HelpContext = {read=FHelpContext, write=FHelpContext, stored=IsHelpContextStored, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenuItem

Description

Specifies the help context ID associated with the menu item.

Use HelpContext to associate the menu item with a screen in the Help system of the application. Each screen in the Help system should have a unique context ID. When a menu item is selected using the keyboard, pressing F1 displays a Help screen. Which Help screen appears depends on the value of the HelpContext property.

Note: This property is not stored with the menu item if it is supplied by a TAction object.

See Also