Antonio,
When the highlite reachs the last line of the browse if you go over it always returns the numer of the last row.
If we have 25 rows it always return 25.
I don't see how it can works.
Antonio
oBrw:nClrPane := { |nRow| iif( nRow % 2 == 0, rgb(255,255,235), rgb(192,208,179)) }
Line 44: Instead of blank line :
DATA nRowScrol AS NUMERIC INIT 0
//
In method paint()
Line 253: In the present blank line:
::nRowScrol := 0
//
In method drawline, at line number 415
Instead of old code:
nClrBack := Eval( nClrBack, If( xRow == nil, nRowPos, xRow ) , nJ )
Substitute the new code:
nClrBack := Eval( nClrBack, If( xRow == nil, nRowPos, xRow ) + ::nRowScrol , nJ )
//
Method GoDown(): Substitute Old Line 1086
Instead of :
::lRepaint := .f.
Substitute :
::lRePaint := .f. ; ::nRowScrol := iif( ::nRowScrol == 0, 1, 0 )
//
Method GoUp() : Substitute old line 1128
Instead of :
::lRepaint := .f.
Substitute :
::lRePaint := .f. ; ::nRowScrol := iif( ::nRowScrol == 0, 1, 0 )
oBrw:nClrPane := { |nRow| iif( nRow % 2 == 0, rgb(255,255,235), rgb(192,208,179)) }
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], shrifw and 66 guests