Vcl.ListActns.TCustomListAction.Strings
Delphi
property Strings[Index: Integer]: String read GetString write SetString; default;
C++
__property System::UnicodeString Strings[int Index] = {read=GetString, write=SetString/*, default*/};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ListActns.pas Vcl.ListActns.hpp |
Vcl.ListActns | TCustomListAction |
Description
Lists the Strings that are the values of the items this action supplies.
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.