RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuActionLink.IsHelpContextLinked Method

Indicates whether the HelpContext properties for the action and client controls are linked.

Pascal
function IsHelpContextLinked: Boolean; override;
C++
virtual __fastcall Boolean IsHelpContextLinked();

TActionLink descendants can call IsHelpContextLinked to determine whether they need to propagate changes to the HelpContext property of the action so that they are reflected by the client object. When IsHelpContextLinked returns true, the action controls the HelpContext property: Changes to the HelpContext property of the action are reflected in the client object. When IsHelpContextLinked returns false, the client object is not influenced by the HelpContext property of its action.  

As implemented in TActionLink, IsHelpContextLinked merely checks that the Action property specifies a descendant of TCustomAction, and if so, returns true. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!