Expand my Community achievements bar.

Printing Text from a text Box

Avatar

Level 2

Is there a way for the client to print all the data from a text box if they want to?

The client does not want to scroll through all the text to read it.Do we have the option to give them a print button?

Thanks.

1 Reply

Avatar

Level 10

Hi rbane1668,

The print button is a standard control from the object library, If your textbox has scrollbars, you can add the following code in the prePrint event of the textbox;

 

this.minH = this.h;

this.h = 0;

And in the postPrint event set it back;

this.h = this.minH;

this.minH = 0;

Regards

Bruce