More information would be helpful to assist you, the section of the code maybe?
All i can assume from what you have posted is that the image box is flashing as the timer ticks, this would be normal as it is redrawing itself... If you give me an idea of what you are trying to do, and or a code segment, i may be able to assist further..
More information would be helpful to assist you, the section of the code maybe?
All i can assume from what you have posted is that the image box is flashing as the timer ticks, this would be normal as it is redrawing itself... If you give me an idea of what you are trying to do, and or a code segment, i may be able to assist further..
Lee
Thanks for your help
and this is the code i use to move the image
Private Sub Timer1_Timer()
image1.Left=ima ge1.Left+50
End Sub
Hi, i have just written your code into a test app, an it doesnt appear to 'flash' in theory, i guess it could be your computer running slow? as the image will disappear, then re-appear in the new position...
Depending on what you are trying to do you could reduce the 'step' of moving (the imag1.left +50) to a smaller value an the timer tick, this may make the movement smoother and appear not to flash.. (just out of curiosity, may not have anything to do with it, do you have a CRT monitor? sometimes the refresh rate may cause this sort of thing to appear to flash..)
Sorry i cant give you a definite answer, but hope this helps!
Lee
Comment