Click to See Complete Forum and Search --> : Refreshing a Picture Box.


Julio C. Chacon, Jr.
February 10th, 1999, 03:46 PM
I'm having a problem with text being erased in a Picture Box when another

form rests on top of the form containing the picture box. Is there some code I need to place in the GetFocus event to redraw the Picture Box? I haven't been able to find an answer in any of my books...

Chris Eastwood
February 10th, 1999, 07:02 PM
Hi


You need to take a look at the help file for the AutoRedraw

property of the picturebox.


e.g.


Picture1.AutoRedraw = True

Picture1.Print "This is a test"


Regards


Chris Eastwood


CodeGuru - the website for developers

http://www.codeguru.com