Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Expand Your VB6 Printing Repertoire—Part II-2 : Page 2


advertisement
The TextPrint Project
The main form (see Figure 1) of the TextPrint project for this month's solution contains a TextBox control where you can type or paste text. You could easily substitute a more full-featured text editor to add features; but this simple text editor, based on the TextBox control, suffices to illustrate basic print and preview capabilities. The Printer Font button on the form lets you set the font used for both the TextBox and the printout. The Preview Text and Print Text buttons let you preview and print the text respectively. Whether you're previewing or printing text, the program displays the Print dialog box, where you can select the printer and set the printout's orientation.


Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Thanks for your registration, follow us on our social networks to keep up-to-date