Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with picture control

Status
Not open for further replies.

elquixiote

Technical User
Nov 30, 2002
99
MX
Hi. I'm using a picture control and it is behaving weird.
If i load a picture at design time it works fine. No matter if i minimize the form it remains showed when it is resized; but if i use the pset method to "turn on" some pixels in the pictue I lost the image when the form is minimized and resized.

Does any body know whats happening ?

Thanks in advance ...

elQuixiote
 
Hi,

Try the following:

picture1.AutoRedraw = True
picture1.PSet .........
picture1.PSet .........
..
picture1.AutoRedraw = False

Cheers.

"Life is full of learning, and then there is wisdom"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top