RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuActionLink.IsGroupIndexLinked Method

Indicates whether the GroupIndex property for the action controls client behavior.

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

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

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

 

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