Atozed Forums
How to print a TIWMemo - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: How to print a TIWMemo (/thread-2218.html)



How to print a TIWMemo - denville - 01-03-2021

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.


RE: How to print a TIWMemo - kudzu - 01-03-2021

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.


RE: How to print a TIWMemo - denville - 01-04-2021

(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.


RE: How to print a TIWMemo - kudzu - 01-04-2021

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.


RE: How to print a TIWMemo - denville - 01-04-2021

(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.