RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListControlItem.SetCaption Method

Sets the value of the Caption property.

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

SetCaption is the protected write implementation of the Caption property. It sets the Caption property to Value, and then calls the Changed method so that the collection can update itself. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!