Re: Adding string to Memo



Jamie wrote:
  if you use the "Text" property, it should give you
the raw string like it is seen in the control.
 then using Insert(Memo1.Text, theStringToPutin,Memo1.SelectStart);

Almost. The Insert procedure requires a "var" parameter, and properties such as Text can't be used that way. You'll need to use a temporary string variable and then assign the variable to the Text property when you're finished.


--
Rob
.