Hi Julian,
With WPtools 4.22a.
My users use the text editor intensively all day and some times they get an access violation.
Here what is done on the WPRichText object of Form1:
In Form2
Form1.WPRichText1.Clear;
Form1.WPRichText1.FastCopyProperties(WPRichText2);
Form1.WPRichText1.AsString := WPRichText2.AsString;
Form1.WPRichText1.ReformatAll();
In Form1
WPRichText1.WorkOnText := wpHeader;
WPRichText1.CPPosition := 0;
WPRichText1.MoveToNextField(True); <= The access violation happened here.
Have you noticed any problem with function MoveToNextField or do I have to execute an other command to be sure that the object is OK?
Thank you.