From 29b7fd13cef096cd021895570bdb6426fab218e6 Mon Sep 17 00:00:00 2001 From: gambas Date: Wed, 31 Mar 2021 18:55:00 +0200 Subject: [PATCH] ReportView: The DocumentView "FirstVisibleDocument" property has been renamed as "FirstVisiblePage". [GB.REPORT2] * BUG: ReportView: The DocumentView "FirstVisibleDocument" property has been renamed as "FirstVisiblePage". --- comp/src/gb.report2/.src/Viewer/ReportView.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/src/gb.report2/.src/Viewer/ReportView.class b/comp/src/gb.report2/.src/Viewer/ReportView.class index c4cd638b9..cd89eb673 100644 --- a/comp/src/gb.report2/.src/Viewer/ReportView.class +++ b/comp/src/gb.report2/.src/Viewer/ReportView.class @@ -125,7 +125,7 @@ Public Sub Area_Draw() Dim sText As String Dim iTextWidth As Integer - sText = Str($hView.FirstVisibleDocument + 1) & "/" & Str($hView.Count) + sText = Str($hView.FirstVisiblePage + 1) & "/" & Str($hView.Count) iTextWidth = Paint.TextSize(sText).Width + 10 Paint.Rectangle(Paint.Width - iTextWidth - 10, 10, iTextWidth, 25, 5) Paint.Brush = Paint.Color(Color.SetAlpha(Color.black, 125))