Are you going to allow the text in the Memo to be edited? If so, what are the implications for the associated objects if the number of lines changes (e.g. someone inserts a line break, types in one or more lines, or deletes one or more lines)?
Stephen Posey stephenlpo...@earthlink.net -----Original Message----- >From: John Barrat <j.bar...@netcom.co.uk> >Sent: Dec 11, 2012 11:38 AM >To: 'Moderated List for the Discussion of Delphi Programming > excluding Database-related topics' <delphi@elists.org> >Subject: What is the best way to add objects to TMemo.Lines > >I seems TMemo.lines only supports the String part of a TStrings not the >Objects. > >TMemo.Lines.AddObject compiles fine in fact only the string component is >actually loaded. > > > >I need to store an object with this TMemo - how do you recommend I do this? > > > >JohnB > >_______________________________________________ >Delphi mailing list >Delphi@elists.org >http://lists.elists.org/cgi-bin/mailman/listinfo/delphi _______________________________________________ Delphi mailing list Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi