Re: Adding string to Memo




> Memo.SelStart gives you the position,
> where you should insert your text into Memo.Text .
> If Memo.SelLenght is not 0,
> you might want to replace this amount of chars
> by your text.
>
> Regards
> Heiner


Thanks for such a quick response, little confused
if SelStart gives me the position, how do I then say
add the 'string' at the position?

Brian


.



Relevant Pages

  • Regex help
    ... I'm trying to create a regex and I can't quite seem to get it right... ... I'm trying to get several arguments out of a string which looks like: ... Brian ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: get mixins name
    ... > module defines an instance method which returns the name of the module ... The string is simple though... ... Brian. ... Prev by Date: ...
    (comp.lang.ruby)
  • Re: Adding string to Memo
    ... > if SelStart gives me the position, ... > add the 'string' at the position? ... Prev by Date: ...
    (alt.comp.lang.borland-delphi)
  • Re: Quote-aware string splitting
    ... J. W. McCall wrote: ... > For example, given the string: ... ['spam', 'the life of brian', '42'] ... Prev by Date: ...
    (comp.lang.python)
  • Re: Help please with pointers to callbacks in structs
    ... Brian ... >> character array for special processing by the DLL. ... > public delegate bool DelFn1; ... > public static extern long lstrcpyA (IntPtr pDst, string sSrc); ...
    (microsoft.public.dotnet.languages.csharp)