RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCollectionItem.SetDisplayName Method

Sets the name of the collection item as it appears in the collection editor.

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

SetDisplayName is the protected write implementation of the DisplayName property.  

Value specifies the name for the item that should appear in the collection editor. 

 

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