Welcome! Log In Create A New Profile

Advanced

Title of Print Preview window

Posted by Robin Lane 
Title of Print Preview window
January 23, 2019 09:19AM
Hello All,

Is there way of editing the title of the print preview window?
I am using the following code from a button, but I would like to be able to change the default title of the preview window.

iParameterPreview(iButtonNone)
iPreview(100)
iPrintReport(RPT_FullDPR)

I've tried via code from within the report, & with NextTitle() but am not having any success.

Many thanks,
Robin.
Re: Title of Print Preview window
January 23, 2019 10:49AM
Robin,

add the title as a second parameter like this
iPreview(100,"Invoice 123")

Arie
Re: Title of Print Preview window
January 23, 2019 12:15PM
Marvellous Arie,

That's great, many thanks.
Robin.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: