Izac_boy9
06-27-2006, 12:52 PM
Hi!
I have a picture box which i am drawing on. Here's the code i am using:
Private sub timer_tick
Picture1.creategraphics.clear(Color.white)
for i = 1 to 999
Picture1.creategraphics.drawstring( i ,font, brushes.black , i * 25 - SCROLLBAR.value , 0 )
next i
End sub
The problem is when the screen clears white, you can see flashes of white.
Is there anyway to fix this? i remember it never done this in vb6.
Any help would be great thanks!
P.S:The code might not be EXACLY right, becuase i am not at vb.net at the moment. but you should be able to understand it.
I have a picture box which i am drawing on. Here's the code i am using:
Private sub timer_tick
Picture1.creategraphics.clear(Color.white)
for i = 1 to 999
Picture1.creategraphics.drawstring( i ,font, brushes.black , i * 25 - SCROLLBAR.value , 0 )
next i
End sub
The problem is when the screen clears white, you can see flashes of white.
Is there anyway to fix this? i remember it never done this in vb6.
Any help would be great thanks!
P.S:The code might not be EXACLY right, becuase i am not at vb.net at the moment. but you should be able to understand it.