Vcl.Menus.TMenuActionLink.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.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TMenuActionLink |
Description
Sets the specified value to the client's Caption of the menu action link if IsCaptionLinked is True
.
SetCaption sets the specified Value
to the Caption property for the client's menu item of the menu action link if the action, associated by the menu action link to the client, controls the Caption property of the client. That is, if
IsCaptionLinked is True
.
Value
is the string to use as the menu item's caption.