Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-11

ObjectInspector FCurrentEdit.Invalidate

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sandro Cumerlato

Please review attached patch.

- ChangeBounds calls Invalidate itself.

Please apply if OK, thanx.

Sandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141123/f3cd0f17/attachment.html> -------------- next part --------------
Index: components/ideintf/objectinspector.pp
=================================================================== --- components/ideintf/objectinspector.pp (revisione 46974) +++ components/ideintf/objectinspector.pp (copia locale) @@ -2631,10 +2631,7 @@

       end;
       //debugln('TOICustomPropertyGrid.AlignEditComponents A ',dbgsName(FCurrentEdit),' ',dbgs(EditCompRect));
       if not CompareTopLeft(FCurrentEdit.BoundsRect,EditCompRect) then

- begin

         FCurrentEdit.BoundsRect:=EditCompRect;

- FCurrentEdit.Invalidate;
- end;

     end;
   end;

end;

Reply by email