开发者

Moving Labels and Pictures

What's the code to move pictures left to right using x 开发者_如何转开发and y axis instead of hide and show?


You're probably using Visual Basic .NET 2008.

Please be aware that it has nothing to do with C++.

If you have a PictureBox named MyPicture, you can move it by changing the Top and Left properties.

If you want to animate the picture (for example, if you want to gradually move it across the screen), you'll need to use the Timer component, and change the Left property in the Timer's Tick event.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜