Re: RichEdit and Win32lib v0.57.11 onwards
- Posted by Derek Parnell <ddparnell at bigpond.com> Sep 18, 2002
- 555 views
Actually, the better way to clear the text would be this ... -- Select all the text. setIndex(RE, {1,0}) -- Replace the selected text with the new stuff. putStream(RE, flag, NewText) In fact, what I might do is allow an additional flag value thus ... putStream(RE, {StreamRTF, ClearText}, NewText) that will automatically clear the existing text first. 19/09/2002 12:58:03 PM, g.haberek at comcast.net wrote: > >i say yes, we can just call setText( id, "" ) prior to putStream(), right? > > > > --------- Cheers, Derek Parnell ICQ# 7647806