Vcl.Menus.TMenu.GetHelpContext
Delphi
function GetHelpContext(Value: NativeUInt; ByCommand: Boolean): THelpContext;
C++
System::Classes::THelpContext __fastcall GetHelpContext(System::NativeUInt Value, bool ByCommand);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TMenu |
Description
Returns the help context ID associated with a menu item.
Call GetHelpContext to obtain the ID for context-sensitive help on a particular menu item. Identify the menu item as the item that matches the Value property. If ByCommand is true, Value is the Command property of the TMenuItem. If ByCommand is false, Value is the Handle property.