On Wed, Apr 23, 2008 at 3:32 PM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote:

>  BTW have you tested this code with Clipper?

Yes it is old C5x code. What I've found so far is that ::stabilize()
never return .T. when that condition is met but it doesn't call my
skipblock code. It happens IF a ::down() is done when ::RowPos is at
the last row of the tbrowse.

What I mean is that in this case I never reach alert( "here1" )

...
      nPos := AScan( ::aCellStatus, _TBR_UNDEF )
      alert( "here0" )

      IF nPos == 0
         ::setPosition( ::nRowPos )
         ::nRowPos := ::nBufferPos
         ::lStable := .T.
         ::lInvalid := .F.
         alert( "here1" )
         DispBegin()
         FOR EACH lDisp IN ::aDispStatus
            IF lDisp
               ::dispRow( lDisp:__enumIndex() )
            ENDIF
         NEXT
         DispEnd()

      ELSE
         /* TODO: CA-Clipper displays all valid records in the buffer when
          *       they should be drawn on the screen f.e. after horizontal
          *       scrolling in each stabilize call not only at the end of
          *       stabilization process. [druzus]
          */
         RETURN .F.
      ENDIF
...

Any suggestion is welcome.

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to