Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.
What is this?Syndicate this content

Adding enhanced print preview with Delphi

This source code snippet requires TX Text Control ActiveX
Author:TX Text Control Support Department
Language:Delphi
Version:1.1
Released:November 15, 2001
Last modified:January 11, 2008
Requirements:TX Text Control ActiveX with Visual Basic

After a substantial number of requests from TX Text Control Delphi users, we have created a print preview (like the one in the VB MDI demo and TXWords sample applications) for Delphi.

The handling is quite easy. Simply include the form in your project. To let the print preview show up, use the following code:

  1. frmPrintPreview.ShowPreview(TX);

TX is the TX Text Control instance that should be previewed.

The print preview is integrated into the all-new MDI demo for Delphi. It now has the same features as the VB and C++ sample applications (i.e. headers and footers, styles and lists).

As ever, you can download the Delphi source code. See for yourself how easy adding print preview to Delphi really can be.

 

 

 

top

Top 10 Bestselling Product Award 2007Top 25 Publisher Product Award 2007Top 10 Bestselling Product Award 2007 in JapanTop 25 Bestselling Product Award 2006Top 25 Bestselling Publisher Award 2006Reader's Choice Award, dot.net magazin, 3rd place