System.Actions.TContainedActionLink.SetHint

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

Delphi

procedure SetHint(const Value: string); virtual;

C++

virtual void __fastcall SetHint(const System::UnicodeString Value);

プロパティ

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

説明

クライアントのヒント文字列を設定するためのインターフェイスです。


関連付けられたアクションの Hint プロパティが変化すると、アクションは SetHint を呼び出します。その結果、アクション リンクは新しい Hint の値をクライアント オブジェクトに伝播させることができます。

Value には、Hint プロパティの新しい値を指定します。

TContainedActionLink で実装されている SetHint は何も処理を行いません。IsHintLinked メソッドが True を返した場合にクライアントの Hint プロパティを設定するよう、下位クラスで SetHint をオーバーライドします。

関連項目