 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Peter Below (TeamB) Guest
|
Posted: Mon Apr 19, 2004 5:37 pm Post subject: Re: Repaint on Delphi8 |
|
|
In article <4083f8a6 (AT) newsgroups (DOT) borland.com>, Mohammad-Reza wrote:
| Quote: | How can I prevent my program from clearing a panel when it repainted.
(When switching two forms).
|
You cannot. The panel has no "memory" of what you have drawn on it. When you
cover it with another window and then uncover it again all that was on it has
to be redrawn.
Use a TImage to draw on, it has such a "memory" (since the image.Canvas
actually draws on an off-screen bitmap which the image redraws on sceen as
needed).
--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|