• Log in or sign up for an account here: https://www.sythe.org/login

persistence?

fury6000

Member
Joined
Jan 21, 2008
Sythe Gold
0
Messages
34
Hey guys out there. I have recently noticed that when i draw text to a picture box in visual basic 2005 express, and then move something else over the text in the picture box, the text somehow gets "erased". I looked this up and im pretty sure it's called persistence. Is there any way I can avoid the text getting "erased"? If there is certain code required to do this, it would be helpful if i can get it. Thanks!
 
Try posting this in the .Net section, but I'll try to answer. Do you have the picture boxes auto redraw set to true?
 
lol i have to be honest- i feel like an idiot saying this, but im not completely sure how to set the auto redraw property to true or flase, but that's what i have been trying to look up:o
 
in the 2005 version? I dont think i saw an auto redraw property there, but i guess thats why u said that u "think" lol.
 
What about putting the code to draw the text under the picture box's paint sub?

I don't use .net much so I don't have everything memorized.
 
duelarena.gg
Back
Top