Vcl.Menus.TPopupMenu.HelpContext
Delphi
property HelpContext: THelpContext read GetHelpContext write SetHelpContext default 0;
C++
__property System::Classes::THelpContext HelpContext = {read=GetHelpContext, write=SetHelpContext, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TPopupMenu |
Description
Specifies a context ID for the entire pop-up menu.
Use HelpContext to associate a help screen with the entire pop-up menu. Each screen in the Help system should have a unique context ID. When a component is selected in the application, pressing F1 displays the Help screen associated with the value of HelpContext.
To associate a help screen with the individual items in the pop-up menu, use the HelpContext property of the associated TMenuItem objects.