System.Actions.TContainedActionLink.SetGroupIndex

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure SetGroupIndex(Value: Integer); virtual;

C++

virtual void __fastcall SetGroupIndex(int Value);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
System.Actions.pas
System.Actions.hpp
System.Actions TContainedActionLink


説明

Introduces an interface for setting the GroupIndex property for a client of the action link.

Value specifies the new value of the GroupIndex property.

The associated action calls SetGroupIndex when its GroupIndex property changes so that the action link can propagate the new Value to the GroupIndex property of the client object of the action link.

TContainedActionLink での実装の通り、SetGroupIndex は何も行いません。 Descendant classes override SetGroupIndex to set the client's GroupIndex property if the IsGroupIndexLinked method returns True.

メモ: An action itself implements unchecking actions having the same GroupIndex value in the same action list. That is, when the value of the action's Checked property changes to True, the Checked property of all other actions in the action list having the same GroupIndex value become False.

関連項目