I'm experimenting with the RTF control and have come up with one problem. When I load the text file either through the LoadFile() method of the control or if I just set the RTF.Text = FILETOSTR("MyFile.TXT"), the file load immediately. However, it takes over 30 seconds before control is returned to VFP. Any ideas what is causing this?
>I've had a similar requirement some time ago. I've used the RTF control and set the RightMargin property to some really high value. Wrapping still occurs, but it was sufficient for my needs. I just did some testing. With RtfControl.RightMargin=800000 I was able to enter 4600 characters without wrapping.
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer