Author: eQSantia(Ernest)
Posted: 2001-05-16 at 15:27:03
You could add a new function to
your application, somethig like this:
Function SetTitleBar
parameter nPageNumber
_screen.caption="Page: "+transform(nPageNumber)
*or, if you use a Form for your preview:
*oObjPreviewForm.Caption="Page: "+transform(nPageNumber)
return ""
Now, in your report, add a new field where,
as expression, specify:
SetTitleBar(_PageNo)
Ernest M.
Torino - Italy
----- Original Message -----
From: "R. Bosma" <mannager@safeplace.net>
To: "Multiple recipients of ProFox" <profox@leafe.com>
Sent: Wednesday, May 16, 2001 5:12 AM
Subject: VFP6 Report Preview Maximize
> Hello Foxperts,
>
> Back a long time ago my application previewed it's reports in the VFP
> standard window with the VFP standard title:
> "Report Designer - someReport.frx - Page #"
>
> Thanks to Randy Jean and his repwindow() function, my previews are always
> full screen and have a less misleading title:
> "My Application - Report Preview"
>
> There's one feature of the old VFP way that I would like to add back to
the
> title bar of the preview window - the Page number. Has anyone found a way
> to emulate this feature?
>
> TIA,
> Randy Bosma
>
>
>
>
>