So I want to make a form that on button click, resizes to a set width (from 250 to 500) with a timer so its "smooth" and not instant.
I can get it to initiate the movement, but then it carries on and by the looks of it my loop goes wild
Heres what I have, without the timer part really,
If Me.Width <= 500 Then
Do
Me.Width = Me.Width + 20
Loop Until Me.Width = 500
End If
Btw, I hate programming, so its not great! But howcome my loop doesnt halt when me.width = 500?
I've no idea how to attempt it with a timer,
everytime timer interval ticks me.width = me.witch + 1 etc..
Help
I can get it to initiate the movement, but then it carries on and by the looks of it my loop goes wild

Heres what I have, without the timer part really,
If Me.Width <= 500 Then
Do
Me.Width = Me.Width + 20
Loop Until Me.Width = 500
End If
Btw, I hate programming, so its not great! But howcome my loop doesnt halt when me.width = 500?

I've no idea how to attempt it with a timer,
everytime timer interval ticks me.width = me.witch + 1 etc..
Help
