trichview.com

trichview.support




Re: Redraw drag&dropped TComponent


Return to index


Author

Message

Pieter E.

Posted: 11/14/2004 23:33:08


Dear Sergey,


I changed the RVEdit.pas en rebuild it. It seems better, but there are still

some problems.


1. TEdit and TMemo look still not right. They doesn't show correctly.

2. After drag&drop reselecting en redragging is impossible or very difficult.


Pieter E.



"Sergey Tkachenko" <svt@trichview.com> wrote:

>I confirm this bug.

>It was added when I changed the method of display "freezing" while making

>drag&drop operation.

>It will be fixed in the next update.

>

>Quick fix:

>Open RVEdit.pas, change

>

>procedure TCustomRichViewEdit.RefreshAll;

>var rve: TCustomRichViewEdit;

>    i: Integer;

>begin

>  rve := GetRootEditor;

>  while rve<>nil do begin

>    rve.Refresh;

>    for i := 0 to rve.ControlCount-1 do

>      if rve.Controls[i]<>rve.InplaceEditor then

>        rve.Controls[i].Refresh;

>    rve := TCustomRichViewEdit(rve.InplaceEditor);

>  end;

>end;

>

>

>





Powered by ABC Amber Outlook Express Converter