Movement of a picture box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have code written to move a little box back and forth. I am trying to
change the code to make the box move faster in the mid-screen area and slower
towards the edges. I would be happy to email my current code to a responde'
for assistance.

Thanks,

Dr. S.
 
Hi,

I would use a timer and on timer tick event I would check if the box is
within some preset boundaries or not , readjust the interval (to move slower
or faster) and move the box.
 
Thanks for getting back. I would like the box to move in an exponential
fashion, without an abrupt change in velocity when it gets to some arbitary
boundary point. i.e., I would like a graphic depicture of the movement to be
a sine wave.
 
Back
Top