Atozed Forums

Full Version: How to print a TIWMemo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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-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.
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: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.