Browse Source

* force redraw tgroup after changebounds

peter 20 years ago
parent
commit
5dfa8ca3d7
1 changed files with 6 additions and 2 deletions
  1. 6 2
      fv/views.pas

+ 6 - 2
fv/views.pas

@@ -2504,7 +2504,8 @@ BEGIN
    D.Y := Bounds.B.Y - Bounds.A.Y - Size.Y;           { Delta y value }
    D.Y := Bounds.B.Y - Bounds.A.Y - Size.Y;           { Delta y value }
    If ((D.X=0) AND (D.Y=0)) Then Begin
    If ((D.X=0) AND (D.Y=0)) Then Begin
      SetBounds(Bounds);                               { Set new bounds }
      SetBounds(Bounds);                               { Set new bounds }
-     DrawView;                                        { Draw the view }
+     { Force redraw }
+     ReDraw;                                        { Draw the view }
    End Else Begin
    End Else Begin
      SetBounds(Bounds);                               { Set new bounds }
      SetBounds(Bounds);                               { Set new bounds }
      GetExtent(Clip);                                 { Get new clip extents }
      GetExtent(Clip);                                 { Get new clip extents }
@@ -4646,7 +4647,10 @@ END.
 
 
 {
 {
  $Log$
  $Log$
- Revision 1.54  2004-12-22 15:28:22  peter
+ Revision 1.55  2004-12-26 16:14:08  peter
+   * force redraw tgroup after changebounds
+
+ Revision 1.54  2004/12/22 15:28:22  peter
    * TGroup.ClipChildes added
    * TGroup.ClipChildes added
 
 
  Revision 1.53  2004/12/21 18:53:41  peter
  Revision 1.53  2004/12/21 18:53:41  peter