animation/movement

Nachtfalke75

Member
Licensed User
Longtime User
Hello,

i want to move two buttons into the screen
i tried it like this:

moveButton(0).InitializeTranslate("Animation",-150dip, Button1.Top, Button1.Left, Button1.Top)
Button1.Tag = moveButton(0)
moveButton(0).Duration = 800
moveButton(0).RepeatCount = 0
moveButton(0).Start(Button1)

The buttons move into the screen but to the wrong position (not like that position in the disigner).
What did i do wrong? Can anybody help me?

thanks a lot :)
 
Top