How to print a TIWMemo

<< Click to Display Table of Contents >>

Navigation:  Forum >

How to print a TIWMemo

Forum link

 


 

01-03-2021, 03:12 PM:

 

IW 15-0-22 C++ Builder XE7

 

Please, how might a Web client print the contents of a TIWMemo ?

 

Found one similar question on Google but the link is broken.

 

Thanks.

 


 

01-03-2021, 06:25 PM:

 

Generally any time you want to offer a print option to a user when there are inputs it is advisable to offer the user a "print view" using a separate page which is formatted for printing. You can do this using only IW controls (suggest a template as well for better layout), or if its complex a reporting tool to generate the output.

 

Printing with input fields is up to the browser and typically will look more like a screen shot than something intended for printing.

 


 

01-04-2021, 12:11 PM:

 

(01-03-2021, 06:25 PM)kudzu Wrote: [ -> ]Generally any time you want to offer a print option to a user when there are inputs it is advisable to offer the user a "print view" using a separate page which is formatted for printing. You can do this using only IW controls (suggest a template as well for better layout), or if its complex a reporting tool to generate the output.

 

Printing with input fields is up to the browser and typically will look more like a screen shot than something intended for printing.Thanks for that.  There is no input, just need a printed copy of the read-only text in the memo (TIWMemo).  Sorry I didn't think to make that clear.  I don't see a control to help with this ?

 

Denville.

 


 

01-04-2021, 04:21 PM:

 

You can use a new page with a TIWLabel and just put the contents from the memo in there. That will make it easier for the user to print properly. A template will simplify the layout as well.

 


 

01-04-2021, 04:50 PM:

 

(01-04-2021, 04:21 PM)kudzu Wrote: [ -> ]You can use a new page with a TIWLabel and just put the contents from the memo in there. That will make it easier for the user to print properly. A template will simplify the layout as well.

 

Thanks.