Animation tool in VB.NET

retkehing

Well-known member
Joined
Feb 5, 2006
Messages
153
Programming Experience
Beginner
Is there any tool which could be used to design a motion or animation? For example, draw a line from one dot to another dot, showing the step by step.
 
Amination in vb.net is quite resource intensive. For somthing as simple as what you described above i'd just create an animated .gif set it as the image property of a label with a transparent background and voila... Your animation happens with out having to add a single line of code.
 
Animation in vb.NET

Hi Retkehing. This little routine will give you a starter.
Start a new project. Put a label and a button on the Form. Place the label on the left of the form and in its Text property put a dash [-] and use font to make it a reasonable size. In the button's click event put this code in:-
VB.NET:
Dim x As Integer
For x = 20 To 250
Label1.Left = x
Me.Update()
Threading.Thread.Sleep(5)
Next
Press F5 and go!
The number in the parentheses after Sleep is a 'delay' and can be changed to what you want.
I do test what I write in the Forum (as I just did so) and it works.
:cool:
 
Back
Top