I tried this:
Canvas1.Graphics.ForeColor = RGB(255,255,255)
Canvas1.Graphics.FillRect 0,0,canvas1.width, canvas1.height
but when I draw a picture and clear the canvas it clears but when I
draw again
the old picture comes back
I want to save the old picture in a file but not use it after the
canvas clears
Brian Heibert
http://www.heibertweb.com
[EMAIL PROTECTED]
On Apr 22, 2006, at 12:03 PM, Terry Ford wrote:
On Apr 22, 2006, at 8:33 AM, Brian Heibert wrote:
I got this method requires more parameters than were passed
Canvas1.Graphics.ForeColor = RGB(255,255,255)
Graphics.FillRect (canvas1.graphics.width,
canvas1.graphics.height, 32)
Canvas1.Graphics.ForeColor = RGB(255,255,255)
Canvas1.Graphics.FillRect 0,0,canvas1.width, canvas1.height
The above code will fill Canvas1 with the color white.
Your code "canvas1.graphics.width, canvas1.graphics.height, 32"
looks like you took these parameters from the NewPicture (Picture)
Class.
Is this question related to the next thread you just started
[Import PICT file to canvas] ?
If that's the case (and taking the subject of this thread into
consideration), you are approaching the whole thing wrong.
What are you actually trying to do?
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>