RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListAction.Strings Property

Lists the Strings that are the values of the items this action supplies.

Pascal
property Strings [Index: Integer]: String;
C++
__property AnsiString Strings[int Index];

Read Strings to get or set the text value for any of the items this action supplies to clients. 

Index is the index of the item. It is a value from 0 to Count – 1. 

In TCustomListAction, Strings is not implemented. Reading Strings always returns an empty string, and setting Strings has no effect.  

Descendant classes can override the protected GetString and SetString methods to provide an implementation for this property. However, there is no guarantee that Strings is implemented for any particular TCustomListAction descendant. 

 

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