Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How do I get a stringgrid to reflect its correct colors when it is printed?

Posted on 2003-03-03
4
Medium Priority
?
159 Views
Last Modified: 2010-05-18
Stringgrids have caused me no end of trouble. I have a stringgrid whose contents exceeds the window in which it is displayed. You move around it with a mouse. When it prints (with colors), it will not print correctly unless you scroll through the entire stringgrid. Then it prints no problem. Does anyone have any idea what in the world causes this strange problem? This is a delphi problem.

Thank you so much

jcherry_99@yahoo.com
0
Comment
Question by:jcherry_99
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
ILE earned 200 total points
ID: 8067729
i think the problem is
that the canvas of string grid is not updated until u force to update him with mouse
when u see that part of grid the canvas is updated
how to go arround this
i just check to find something

0
 
LVL 3

Expert Comment

by:ILE
ID: 8067861
tell me how u print string grid?
0
 

Author Comment

by:jcherry_99
ID: 8070064
There are wonderful comments on the net that show you how to print a grid. Here is a link to one of them.

http://www.swissdelphicenter.ch/torry/showcode.php?id=769

put this in your address url line in your browser. It will take you right to it.

You are right about the refresh. That is exacly what I don't know as well.

Jerome.
0
 

Expert Comment

by:CleanupPing
ID: 9316955
jcherry_99:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question