Syntax

code

Property: SimpleList: String;


Description

Gets or Sets the SimpleList attribute for the property. If ListType = ltSimpleList, the SimpleList attribute will be the CRLF delimited string of list items.


Code Reference


code

1

2

3

4

5

6

7

8

9

10

11

If Not Property.ListType = ltSimpleList Then Exit;

AList := TStringList.Create;

Try

  AList.Text := Property.SimpleList;

  AList.Add('List Item 1');

  AList.Add('List Item 2');

  AList.Add('List Item 3');

  Property.SimpleList := AList.Text;

Finally

  AList.Free;

End;