Vcl.Menus.TMenuActionLink.IsHelpContextLinked
Delphi
function IsHelpContextLinked: Boolean; override;
C++
virtual bool __fastcall IsHelpContextLinked();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TMenuActionLink |
Description
Retrieves whether the HelpContext properties for the action and for the client of the action link are linked.
Vcl.Menus.TMenuActionLink.IsHelpContextLinked inherits from System.Actions.TContainedActionLink.IsHelpContextLinked. All content below this line refers to System.Actions.TContainedActionLink.IsHelpContextLinked.
Retrieves whether the HelpContext properties for the action and for the client of the action link are linked.
TContainedActionLink descendants call IsHelpContextLinked to determine whether they need to propagate changes made to the action's HelpContext property to the corresponding HelpContext property of the client object:
- When IsHelpContextLinked returns True, the action link controls the HelpContext property; changes to the action's HelpContext property 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 TContainedActionLink, IsHelpContextLinked merely checks that the Action property specifies a descendant of TContainedAction (that is, it is an action having a HelpContext property), and if so, returns True. Descendant classes can override IsHelpContextLinked to determine whether this property is linked with the appropriate client property.