- Code: Select all Expand view
- static Function Marcar_Lines(oBrw)
WITH OBJECT oBrw
FOR i := 1 TO 91 STEP 10
oCol := :aCols[ i ]
ColPenColor( oCol, CLR_BLACK,:nSizePen )
NEXT
END
oBrw:refresh()
return nil
it run ok but when I scroll ( horizontal scroll) I lose the lines i.e. the lines are on bad pos as you can see on this video
How I can resolve it ?
I tried to make
- Code: Select all Expand view
- oDlg:bPainted := { |hDC| PaintDlg( hDC, oDlg, oBrw ) }
static function PaintDlg( hDC, oDlg, oBrw )
( hDC )
Marcar_Lines(oBrw)
* oBrw:CalcHdrHeight()
oBrw:Refresh()
return nil
but not run ok