944,095 Members | Top Members by Rank

Ad:
Apr 20th, 2005
0

screen dumps or print screens in pascal?

Expand Post »
hi
i need some help with doing screen dumps or print screens in turbo pascal. when i press the print screen button whilst my program is running and then go and paste it in word, powerpoint or paint, all that pastes is the text and boxes i have created but on a white background.also when it is pasted, all the text and boxes are distorted and are in no way a resemblance of what i see when i run my program. i would like to know how to get a print screen with a black background and have everything pasted exactly how it is in my program. any help appriciated.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mpx10 is offline Offline
9 posts
since Apr 2005
Oct 11th, 2005
0

Re: screen dumps or print screens in pascal?

Try using the <alt>+<Enter> keystroke to get the dos-shell windowed (instead of full-screen), and then use the <alt>+<print_screen> keystroke to grab the pascal window only. From there, you can paste it into you word processor.

If you like, you can also press <alt>+<space> to get the system menu, choose 'properties' and select a screen font that is best suited for the documentation work.

what we've found is that the black screens waste ink, esp where there are a lot of screen shots, so you may want to paste the image into a graphic editor (something simple like microsoft photo editor), and invert the black screens to white screens.

alternatively, you can just change the black screens in your application using:

Pascal and Delphi Syntax (Toggle Plain Text)
  1. uses crt;
  2. begin
  3. ...
  4. textattr:=$70; clrscr;
  5.  
  6.  
  7. end.



hope that helps.. Abdullah



Quote originally posted by mpx10 ...
hi
i need some help with doing screen dumps or print screens in turbo pascal. when i press the print screen button whilst my program is running and then go and paste it in word, powerpoint or paint, all that pastes is the text and boxes i have created but on a white background.also when it is pasted, all the text and boxes are distorted and are in no way a resemblance of what i see when i run my program. i would like to know how to get a print screen with a black background and have everything pasted exactly how it is in my program. any help appriciated.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
abdullah is offline Offline
3 posts
since Sep 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Pascal and Delphi Forum Timeline: Reading in a text file string is not complete
Next Thread in Pascal and Delphi Forum Timeline: Simple graphics in Pascal





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC