Vcl.CategoryButtons.TButtonItemActionLink.SetCaption
Delphi
procedure SetCaption(const Value: string); override;
C++
virtual void __fastcall SetCaption(const System::UnicodeString Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.CategoryButtons.pas Vcl.CategoryButtons.hpp |
Vcl.CategoryButtons | TButtonItemActionLink |
Description
Introduces an interface for setting the caption for a client of the action link.
Vcl.CategoryButtons.TButtonItemActionLink.SetCaption inherits from System.Actions.TContainedActionLink.SetCaption. All content below this line refers to System.Actions.TContainedActionLink.SetCaption.
Introduces an interface for setting the caption for a client of the action link.
Value
specifies the string for which the caption should be set.
The associated action calls SetCaption when its Caption property changes so that the action link can propagate the new Caption value to the client object.
As implemented in TContainedActionLink, SetCaption does nothing.
Descendant classes can override SetCaption to set the client's Caption property if the IsCaptionLinked method returns True.