RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenuActionLink.SetCaption Method

Sets the caption of a menu item if the client is linked to the action for this property.

Pascal
procedure SetCaption(const Value: string); override;
C++
virtual __fastcall SetCaption(const AnsiString Value);

SetCaption sets the caption of a menu item, and is called only if the client is linked for this event. Value is the string to which the caption should be set. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!