i use TWPRichtext instead of TDBWPRichText.
With the following code i load data from db:
procedure TFRMMain.LoadTextFromDB;
begin
WPRichText.BeginUpdate;
WPRichText.Clear;
with DMMain do
WPRichText.AsString := qryDoc.FieldByName('document').AsString;
WPRichText.EndUpdate;
end;
After the rearrangement the TWPPreview isn't updated any more.
At the first record change the preview is automatic updated,
at the next no more. What to do?
You need wp.ReformatAll after changes to the attributes of the text. Basically all changes which use procedures and properties which are not part of WPRichText but of an inner object, such as SelectedTextAttr.