BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to remove any changes from Timage ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Axell
Guest





PostPosted: Sat Oct 18, 2003 10:00 am    Post subject: How to remove any changes from Timage ? Reply with quote



Hi

I have image on which I draw some line (LineTo),
but sometimes I want to remove all lines from my
oryginal image. Is there any method to do it.
refresh(),repaint() do not go. :(

Thank for any sugestion.

Best regards
axell


Back to top
Michel Leunen
Guest





PostPosted: Mon Oct 20, 2003 8:52 am    Post subject: Re: How to remove any changes from Timage ? Reply with quote



Axell wrote:

Quote:
I have image on which I draw some line (LineTo),
but sometimes I want to remove all lines from my
oryginal image. Is there any method to do it.
refresh(),repaint() do not go. Sad

Assign NULL to the Picture property of your TImage:

Image1->Picture=NULL;

Michel
--
----------------------------------------
Michel Leunen
mailto:michel (AT) leunen (DOT) com
http://www.leunen.com/cbuilder/
----------------------------------------


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.