RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenu.GetHelpContext Method

Returns the help context ID associated with a menu item.

Pascal
function GetHelpContext(Value: Integer; ByCommand: Boolean): THelpContext;
C++
__fastcall THelpContext GetHelpContext(int Value, Boolean ByCommand);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!