Browse Source

* always call ScrooDraw if TscrollBar.value filed is changed

pierre 23 years ago
parent
commit
69bb1f33ef
2 changed files with 16 additions and 4 deletions
  1. 8 2
      fv/views.pas
  2. 8 2
      fvision/views.pas

+ 8 - 2
fv/views.pas

@@ -3410,7 +3410,10 @@ BEGIN
          SetDrawMask(vdInner);                        { Set draw masks }
          DrawView;                                    { Redraw changed }
        End;
-       If (State AND sfVisible <> 0) Then ScrollDraw; { Send update message }
+       {If (State AND sfVisible <> 0) Then }
+       { We need to inform the owner if the value changes
+         even if not visible !! }
+       ScrollDraw;                                    { Send update message }
      End;
    End;
    PgStep := APgStep;                                 { Hold page step }
@@ -5767,7 +5770,10 @@ END.
 
 {
  $Log$
- Revision 1.31  2002-06-06 06:42:21  pierre
+ Revision 1.32  2002-06-10 12:39:43  pierre
+  * always call ScrooDraw if TscrollBar.value filed is changed
+
+ Revision 1.31  2002/06/06 06:42:21  pierre
   + use gfvgraph cursor functions for UseFixedFont
 
  Revision 1.30  2002/05/31 13:36:42  pierre

+ 8 - 2
fvision/views.pas

@@ -3410,7 +3410,10 @@ BEGIN
          SetDrawMask(vdInner);                        { Set draw masks }
          DrawView;                                    { Redraw changed }
        End;
-       If (State AND sfVisible <> 0) Then ScrollDraw; { Send update message }
+       {If (State AND sfVisible <> 0) Then }
+       { We need to inform the owner if the value changes
+         even if not visible !! }
+       ScrollDraw;                                    { Send update message }
      End;
    End;
    PgStep := APgStep;                                 { Hold page step }
@@ -5767,7 +5770,10 @@ END.
 
 {
  $Log$
- Revision 1.31  2002-06-06 06:42:21  pierre
+ Revision 1.32  2002-06-10 12:39:43  pierre
+  * always call ScrooDraw if TscrollBar.value filed is changed
+
+ Revision 1.31  2002/06/06 06:42:21  pierre
   + use gfvgraph cursor functions for UseFixedFont
 
  Revision 1.30  2002/05/31 13:36:42  pierre