Print Preview Default Caption

TeeChart for ActiveX, COM and ASP
Post Reply
lilo
Newbie
Newbie
Posts: 61
Joined: Thu Sep 23, 2010 12:00 am

Print Preview Default Caption

Post by lilo » Tue Sep 28, 2010 3:55 am

Is it possible to change the default caption of the print preview dialog box. It currently has "Teechart Print Preview". I would like to replace it with my own caption.

Thanks, lilo

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Print Preview Default Caption

Post by Narcís » Wed Sep 29, 2010 9:33 am

Hi lilo,

Yes, this is possible:

Code: Select all

    TeePreviewer1.PreviewTitle = "my print preview"
    TeePreviewer1.Chart = TChart1
    TeePreviewer1.ShowPreview
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply