I am writing my first visual component, and struck against a problem with creating and using a property of type TStrings. Below are the relevant excerpts from my code.
TMyMenu = class(TCustomControl)
FItems : TStrings;
procedure SetItems(AItem : TStrings);
property Items : TStrings read FItems write SetItems;
procedure TMyMenu.SetItems(AItem : TStrings);
FItems := AItem;
(I also found, quite by accident, a mention of array properties in the help files - but I couldn't get that to work either :( )
I would appreciate any help with this, maybe an example or links to examples. Even better, a tutorial or how-to guide.