Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to print a TIWMemo
#1
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.
Reply
#2
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.
Reply
#3
(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.
Reply
#4
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.
Reply
#5
(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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)