Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Printing Text from a text Box

Avatar

Avatar
Validate 1
Level 1
rbane1668
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
rbane1668
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
rbane1668
Level 1

06-11-2011

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
MVP

06-11-2011

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