English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Is there any way to marquee or move image in visual basic forms. I know how to marquee a text but im not sure about pic.

2007-03-19 14:15:12 · 1 answers · asked by khanz 3 in Computers & Internet Programming & Design

Can i get it in full details plz

2007-03-19 14:20:07 · update #1

cherrssssss man its working u got the best answer just one thing more how to make images go upward and come back down and stop's

2007-03-19 14:54:19 · update #2

1 answers

put some code into a timer control that alters the X and/or Y axis position by a pixel every time, this will change the position of the image to the left or the right by a small increment and appear to make the image control move around the form.

refer to the name of your picture/image control and use the left/right property to move it left or right:
picture1.left = picture1.left -1 < moves it left
picture1.right = picture1.right -1 < moves it right

use one of the above in a timer control and every time the timer activates the picture will move one pixel to the left or right, the shorter the timer trigger the smoother it'll look.

2007-03-19 14:18:44 · answer #1 · answered by piquet 7 · 0 0

fedest.com, questions and answers