martin2k

Google
 
Web www.martin2k.co.uk

How to Move a Shape by mahesh


 

Home

Read and add posts to the Visual Basic 6.0 Forums

Download some of my programs and OCXs

Read the Tips here

The old style forum is still available here

Contact


 

Beginner Tip

To move a shape in a form consider the following code place a shape on the form
place a timer on the form
set the timer interval property to 10

place the following code in timer event

if shape1.left < 8000 then
shape1.left=shape1.left+20
end if
if
shape1.left >= 8000 then
shape1.left = shape1.left-20
end if

Please fill in the below form if you have any comments or additional information you want to add about the above information.  If you have any Visual Basic 6.0 questions, please visit the Forum.

PLEASE NOTE: Questions sent via this form cannot be answered.  Please ask questions at the Forum.

* - Mandatory

*Name: E-mail:

*Comments:

*Please type the following code (your comment will not be accepted without it):

PLEASE NOTE: Questions sent via this form cannot be answered.  Please ask questions at the Forum.


Martin Allen 1999 - 2009.  Last updated Monday 16 February 2009 09:39:30 PM -0000.