Smooth motions
-
Hi, How do you make a smooth motion on your windows form?? For example, I'm making a button that will show more/less options on a form and tried to make it move smoothly but I couldn't.. I'm basically using a normal for loop with a timer but it looks like it's not the way it is done:( Please help:rose:
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
-
Hi, How do you make a smooth motion on your windows form?? For example, I'm making a button that will show more/less options on a form and tried to make it move smoothly but I couldn't.. I'm basically using a normal for loop with a timer but it looks like it's not the way it is done:( Please help:rose:
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
You mention using a for loop - I'm not sure you need one for a smooth motion (or you have might not fully understand the timer object). Set up a timer and have an Event handler that responds to the Tick event of your timer. That should give you a smooth motion. Once you reach the motion limit, stop the timer. Hope that helps - if not, I may have misunderstood the problem.